mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2025-02-18 15:57:42 +11:00
Merge branch 'master' of https://github.com/libretro/slang-shaders
This commit is contained in:
commit
c2060a3a5a
8 changed files with 428 additions and 422 deletions
|
@ -20,6 +20,7 @@ void main()
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma stage fragment
|
#pragma stage fragment
|
||||||
|
#pragma format R8G8B8A8_SRGB
|
||||||
layout(location = 0) in vec2 vTexCoord;
|
layout(location = 0) in vec2 vTexCoord;
|
||||||
layout(location = 0) out vec4 FragColor;
|
layout(location = 0) out vec4 FragColor;
|
||||||
layout(set = 0, binding = 2) uniform sampler2D Source;
|
layout(set = 0, binding = 2) uniform sampler2D Source;
|
||||||
|
|
|
@ -25,6 +25,7 @@ void main()
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma stage fragment
|
#pragma stage fragment
|
||||||
|
#pragma format R8G8B8A8_SRGB
|
||||||
layout(location = 0) in vec2 vTexCoord;
|
layout(location = 0) in vec2 vTexCoord;
|
||||||
layout(location = 1) in float data_pix_no;
|
layout(location = 1) in float data_pix_no;
|
||||||
layout(location = 2) in float data_one;
|
layout(location = 2) in float data_one;
|
||||||
|
|
|
@ -32,6 +32,7 @@ void main()
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma stage fragment
|
#pragma stage fragment
|
||||||
|
#pragma format R8G8B8A8_SRGB
|
||||||
layout(location = 0) in vec2 vTexCoord;
|
layout(location = 0) in vec2 vTexCoord;
|
||||||
layout(location = 1) in vec2 data_pix_no;
|
layout(location = 1) in vec2 data_pix_no;
|
||||||
layout(location = 2) in float data_one;
|
layout(location = 2) in float data_one;
|
||||||
|
|
|
@ -25,6 +25,7 @@ void main()
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma stage fragment
|
#pragma stage fragment
|
||||||
|
#pragma format R8G8B8A8_SRGB
|
||||||
layout(location = 0) in vec2 vTexCoord;
|
layout(location = 0) in vec2 vTexCoord;
|
||||||
layout(location = 1) in float data_pix_no;
|
layout(location = 1) in float data_pix_no;
|
||||||
layout(location = 2) in float data_one;
|
layout(location = 2) in float data_one;
|
||||||
|
|
|
@ -27,6 +27,7 @@ void main()
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma stage fragment
|
#pragma stage fragment
|
||||||
|
#pragma format R8G8B8A8_SRGB
|
||||||
layout(location = 0) in vec2 vTexCoord;
|
layout(location = 0) in vec2 vTexCoord;
|
||||||
layout(location = 0) out vec4 FragColor;
|
layout(location = 0) out vec4 FragColor;
|
||||||
layout(set = 0, binding = 2) uniform sampler2D Source;
|
layout(set = 0, binding = 2) uniform sampler2D Source;
|
||||||
|
|
|
@ -29,6 +29,7 @@ void main()
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma stage fragment
|
#pragma stage fragment
|
||||||
|
#pragma format R8G8B8A8_SRGB
|
||||||
layout(location = 0) in vec2 vTexCoord;
|
layout(location = 0) in vec2 vTexCoord;
|
||||||
layout(location = 0) out vec4 FragColor;
|
layout(location = 0) out vec4 FragColor;
|
||||||
layout(set = 0, binding = 2) uniform sampler2D Source;
|
layout(set = 0, binding = 2) uniform sampler2D Source;
|
||||||
|
|
Loading…
Add table
Reference in a new issue