blob: ae3790807dcc76ac58f45da29d21639648b9bfd9 [file] [log] [blame]
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);
Texture2D<float4> arg_0 : register(t0, space1);
SamplerState arg_1 : register(s1, space1);
float4 textureSampleBaseClampToEdge_9ca02c() {
Texture2D<float4> v = arg_0;
SamplerState v_1 = arg_1;
uint2 v_2 = (0u).xx;
v.GetDimensions(v_2[0u], v_2[1u]);
float2 v_3 = ((0.5f).xx / float2(v_2));
float2 v_4 = clamp((1.0f).xx, v_3, ((1.0f).xx - v_3));
float4 res = v.SampleLevel(v_1, v_4, float(0.0f));
return res;
}
void fragment_main() {
prevent_dce.Store4(0u, asuint(textureSampleBaseClampToEdge_9ca02c()));
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store4(0u, asuint(textureSampleBaseClampToEdge_9ca02c()));
}
VertexOutput vertex_main_inner() {
VertexOutput tint_symbol = (VertexOutput)0;
tint_symbol.pos = (0.0f).xxxx;
tint_symbol.prevent_dce = textureSampleBaseClampToEdge_9ca02c();
VertexOutput v_5 = tint_symbol;
return v_5;
}
vertex_main_outputs vertex_main() {
VertexOutput v_6 = vertex_main_inner();
VertexOutput v_7 = v_6;
VertexOutput v_8 = v_6;
vertex_main_outputs v_9 = {v_8.prevent_dce, v_7.pos};
return v_9;
}