* Update SPIRV libraries - Update `spirv-cross` - Update `spirv-tools` - Update `glslang` `spirv-tools` contains a fix for an issue we reported (unnecessary promotions to highp in certain expressions). * Add SPIRV-Tools dependency to matinfo
14 lines
168 B
GLSL
14 lines
168 B
GLSL
#version 440
|
|
|
|
uniform sampler smp;
|
|
uniform texture2D tex;
|
|
|
|
in vec2 coord;
|
|
|
|
out vec4 color;
|
|
|
|
void main()
|
|
{
|
|
color = texture(sampler2D(tex, smp), coord);
|
|
}
|