mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-03 15:54:39 +00:00
(360) Get rid of file stock shader
This commit is contained in:
parent
5aaceb0502
commit
4ad46b4ac9
0
media/360/shaders/.empty
Normal file
0
media/360/shaders/.empty
Normal file
@ -1,40 +0,0 @@
|
||||
/*
|
||||
VERTEX_SHADER
|
||||
*/
|
||||
void main_vertex
|
||||
(
|
||||
float2 position : POSITION,
|
||||
float2 texCoord : TEXCOORD0,
|
||||
uniform float4x4 modelViewProj,
|
||||
out float4 oPosition : POSITION,
|
||||
out float2 otexCoord : TEXCOORD
|
||||
)
|
||||
{
|
||||
oPosition = mul(modelViewProj, float4(position, 0.0, 1.0));
|
||||
otexCoord = texCoord;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
FRAGMENT SHADER
|
||||
*/
|
||||
struct output
|
||||
{
|
||||
float4 color : COLOR;
|
||||
};
|
||||
|
||||
struct input
|
||||
{
|
||||
float2 video_size;
|
||||
float2 texture_size;
|
||||
float2 output_size;
|
||||
};
|
||||
|
||||
|
||||
output main_fragment(float2 texCoord : TEXCOORD0, uniform sampler2D decal : TEXUNIT0, uniform input IN)
|
||||
{
|
||||
output OUT;
|
||||
OUT.color = tex2D(decal, texCoord);
|
||||
return OUT;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user