blob: 48afacc3db50992155ccb50870d2cdeeb5503de9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//TEST:SIMPLE(filecheck=CHECK): -target hlsl -entry main -allow-glsl -profile sm_5_0
// CHECK: error 36116
struct RayPayload
{
uint data;
};
uniform RaytracingAccelerationStructure sceneBVH;
RWStructuredBuffer<uint> outputBuffer;
[shader("compute_fragment")]
void main()
{
outputBuffer[0] = 0;
}
|