blob: d5ca482484790454747a1fca6dfd402b27c7797c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK):
[SpecializationConstant] const int MAX_ITERS = 0;
RWStructuredBuffer<int> outputBuffer;
[numthreads(1, 1, 1)]
void computeMain(int3 dispatchThreadID: SV_DispatchThreadID)
{
for (int i = 0; i < MAX_ITERS; i++) {
outputBuffer[i] = i;
}
}
// CHECK-NOT: 30505
|