blob: 89bdbc405ae6a862b79f60c299abf4f2a4dc0f5d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
//TEST:SIMPLE(filecheck=CHECK): -target spirv
// CHECK: OpImageSampleDrefExplicitLod
Sampler2DShadow ss;
RWStructuredBuffer<float> output;
[numthreads(1,1,1)]
void computeMain()
{
output[0] = ss.SampleCmpLevelZero(float2(0.0), 0.5);
}
|