dawn-cmake/test/tint/builtins/gen/var/textureSampleCompare/3a5923.wgsl.expected.dxc.hlsl

16 lines
398 B
HLSL
Raw Normal View History

Texture2D arg_0 : register(t0, space1);
SamplerComparisonState arg_1 : register(s1, space1);
RWByteAddressBuffer prevent_dce : register(u0, space2);
void textureSampleCompare_3a5923() {
float2 arg_2 = (1.0f).xx;
float arg_3 = 1.0f;
float res = arg_0.SampleCmp(arg_1, arg_2, arg_3);
prevent_dce.Store(0u, asuint(res));
}
void fragment_main() {
textureSampleCompare_3a5923();
return;
}