SPIRV-Cross/reference/shaders-no-opt/asm/frag/combined-image-sampler-dxc-min16float.asm.invalid.frag
Ryan Harrison cf1bf1c6ae Update external/ to SPIR-V 1.5
Rolled the hashes used for glslang, SPIRV-Tools, and SPIRV-Headers to
HEAD, which includes the update to 1.5.

Added passing '--amb' to glslang, so I didn't have to explicitly set
bindings in a large number of test shaders that currently don't, and
now glslang considers them invalid.

Marked all shaders that no longer pass spirv-val as .invalid.
2019-09-18 16:04:27 -04:00

29 lines
614 B
GLSL

#version 310 es
precision mediump float;
precision highp int;
struct PSInput
{
highp vec4 color;
highp vec2 uv;
};
uniform mediump sampler2D SPIRV_Cross_CombinedtexSamp;
layout(location = 0) in highp vec4 in_var_COLOR;
layout(location = 1) in highp vec2 in_var_TEXCOORD0;
layout(location = 0) out highp vec4 out_var_SV_TARGET;
highp vec4 src_PSMain(PSInput _input)
{
vec4 a = _input.color * texture(SPIRV_Cross_CombinedtexSamp, _input.uv);
return a;
}
void main()
{
PSInput param_var_input = PSInput(in_var_COLOR, in_var_TEXCOORD0);
out_var_SV_TARGET = src_PSMain(param_var_input);
}