blob: d58c0bbc4f41a56c0b13bb26aa3922bc7f0b9390 [file] [log] [blame]
float4 tint_unpack4x8snorm(uint param_0) {
int j = int(param_0);
int4 i = int4(j << 24, j << 16, j << 8, j) >> 24;
return clamp(float4(i) / 127.0, -1.0, 1.0);
}
RWByteAddressBuffer prevent_dce : register(u0);
float4 unpack4x8snorm_523fb3() {
uint arg_0 = 1u;
float4 res = tint_unpack4x8snorm(arg_0);
return res;
}
void fragment_main() {
prevent_dce.Store4(0u, asuint(unpack4x8snorm_523fb3()));
return;
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store4(0u, asuint(unpack4x8snorm_523fb3()));
return;
}
struct VertexOutput {
float4 pos;
float4 prevent_dce;
};
struct tint_symbol_1 {
nointerpolation float4 prevent_dce : TEXCOORD0;
float4 pos : SV_Position;
};
VertexOutput vertex_main_inner() {
VertexOutput tint_symbol = (VertexOutput)0;
tint_symbol.pos = (0.0f).xxxx;
tint_symbol.prevent_dce = unpack4x8snorm_523fb3();
return tint_symbol;
}
tint_symbol_1 vertex_main() {
VertexOutput inner_result = vertex_main_inner();
tint_symbol_1 wrapper_result = (tint_symbol_1)0;
wrapper_result.pos = inner_result.pos;
wrapper_result.prevent_dce = inner_result.prevent_dce;
return wrapper_result;
}