First Commit
This commit is contained in:
10
externals/glslang/Test/spv.specTexture.frag
vendored
Normal file
10
externals/glslang/Test/spv.specTexture.frag
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
#version 450
|
||||
|
||||
layout(constant_id = 1) const int offs = 0;
|
||||
layout(binding = 0) uniform sampler2D tex;
|
||||
layout(location = 0) out vec4 color_out;
|
||||
|
||||
void main(void)
|
||||
{
|
||||
color_out = textureLodOffset(tex, vec2(0.0, 0.0), 0.0, ivec2(offs, offs));
|
||||
}
|
||||
Reference in New Issue
Block a user