blob: c6059d4d23e0239aa416d1c143acb8fed08aaf27 [file] [log] [blame]
SKIP: FAILED
struct VertexOutput {
float4 pos;
float4 prevent_dce;
};
struct vertex_main_outputs {
nointerpolation float4 VertexOutput_prevent_dce : TEXCOORD0;
float4 VertexOutput_pos : SV_Position;
};
RWByteAddressBuffer prevent_dce : register(u0);
Texture2DArray<float4> arg_1 : register(t1, space1);
SamplerState arg_2 : register(s2, space1);
float4 textureGather_4b8103() {
Texture2DArray<float4> v = arg_1;
SamplerState v_1 = arg_2;
float4 res = v.GatherGreen(v_1, float3((1.0f).xx, float(1)), (1).xx);
return res;
}
void fragment_main() {
prevent_dce.Store4(0u, asuint(textureGather_4b8103()));
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store4(0u, asuint(textureGather_4b8103()));
}
VertexOutput vertex_main_inner() {
VertexOutput tint_symbol = (VertexOutput)0;
tint_symbol.pos = (0.0f).xxxx;
tint_symbol.prevent_dce = textureGather_4b8103();
VertexOutput v_2 = tint_symbol;
return v_2;
}
vertex_main_outputs vertex_main() {
VertexOutput v_3 = vertex_main_inner();
VertexOutput v_4 = v_3;
VertexOutput v_5 = v_3;
vertex_main_outputs v_6 = {v_5.prevent_dce, v_4.pos};
return v_6;
}
tint executable returned error: exit status 0xe0000001