Commit 206973b
committed
Remove HLSL support for HitObject.GetObjectRayOrigin/Direction in raygen stage
HLSL does not support ObjectRayOrigin/ObjectRayDirection intrinsics in raygen stage.
These are only available in anyhit/closesthit/intersection shaders and not supported by NVAPI.1 parent 7df5702 commit 206973b
File tree
2 files changed
+4
-8
lines changed- source/slang
- tests/hlsl-intrinsic/shader-execution-reordering
2 files changed
+4
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21297 | 21297 | | |
21298 | 21298 | | |
21299 | 21299 | | |
21300 | | - | |
| 21300 | + | |
21301 | 21301 | | |
21302 | 21302 | | |
21303 | 21303 | | |
21304 | | - | |
21305 | 21304 | | |
21306 | 21305 | | |
21307 | 21306 | | |
| |||
21316 | 21315 | | |
21317 | 21316 | | |
21318 | 21317 | | |
21319 | | - | |
| 21318 | + | |
21320 | 21319 | | |
21321 | 21320 | | |
21322 | 21321 | | |
21323 | | - | |
21324 | 21322 | | |
21325 | 21323 | | |
21326 | 21324 | | |
| |||
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
| |||
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
39 | | - | |
| 38 | + | |
| 39 | + | |
40 | 40 | | |
41 | | - | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
46 | | - | |
47 | 45 | | |
48 | 46 | | |
49 | 47 | | |
| |||
0 commit comments