Added usage hint for --auto-sampled-textures, added test cases
This commit is contained in:
parent
25dd807c3a
commit
e50b0a857c
6 changed files with 167 additions and 0 deletions
13
Test/glsl.autosampledtextures.frag
Normal file
13
Test/glsl.autosampledtextures.frag
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#version 460
|
||||
|
||||
layout (location = 0) in vec2 in_UV;
|
||||
|
||||
layout (set=0, binding=0) uniform texture2D u_Tex;
|
||||
layout (set=0, binding=0) uniform sampler u_Sampler;
|
||||
|
||||
layout (location = 0) out vec4 out_Color;
|
||||
|
||||
void main() {
|
||||
vec4 color = texture(sampler2D(u_Tex, u_Sampler), in_UV);
|
||||
out_Color = color;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue