blob: e2197c6cd9696655a7619082f43d12f33dc0fe4a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// ray-flags-non-constant.slang
// Regression test for a compiler crash occuring when a generic with integer
// value parameters is specialized to a non-constant (and hence invalid) value.
//TEST:SIMPLE:-target dxil-assembly -entry main -stage compute
void main()
{
RAY_FLAG rayFlags = RAY_FLAG_CULL_FRONT_FACING_TRIANGLES | RAY_FLAG_CULL_NON_OPAQUE;
RayQuery<rayFlags> query;
}
|