31 lines
586 B
HLSL
31 lines
586 B
HLSL
float2 tint_unpack2x16snorm(uint param_0) {
|
|
int j = int(param_0);
|
|
int2 i = int2(j << 16, j) >> 16;
|
|
return clamp(float2(i) / 32767.0, -1.0, 1.0);
|
|
}
|
|
|
|
void unpack2x16snorm_b4aea6() {
|
|
float2 res = tint_unpack2x16snorm(1u);
|
|
}
|
|
|
|
struct tint_symbol {
|
|
float4 value : SV_Position;
|
|
};
|
|
|
|
tint_symbol vertex_main() {
|
|
unpack2x16snorm_b4aea6();
|
|
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
|
|
return tint_symbol_1;
|
|
}
|
|
|
|
void fragment_main() {
|
|
unpack2x16snorm_b4aea6();
|
|
return;
|
|
}
|
|
|
|
[numthreads(1, 1, 1)]
|
|
void compute_main() {
|
|
unpack2x16snorm_b4aea6();
|
|
return;
|
|
}
|