-
Notifications
You must be signed in to change notification settings - Fork 803
Description
Description
I compiled a couple of the existing SER test hlsl files with -Od (they are all currently invoked with -O3).
dxc produces validation errors that are not shown when -O3 is used.
Steps to Reproduce
dxc.exe -T lib_6_9 -Od
error: validation errors
error: Declaration '%dx.types.HitObject = type { i8* }' uses a reserved prefix.
error: Pointers to pointers, or pointers in structures are not allowed.
error: Declaration '%dx.types.HitObject = type { i8* }' uses a reserved prefix.
error: Pointers to pointers, or pointers in structures are not allowed.
error: Declaration '%dx.types.HitObject = type { i8* }' uses a reserved prefix.
error: Pointers to pointers, or pointers in structures are not allowed.
error: Declaration '%dx.types.HitObject = type { i8* }' uses a reserved prefix.
error: Pointers to pointers, or pointers in structures are not allowed.
Validation failed.
Actual Behavior
Expected no validation errors, as is the case when -O3 is used instead of -Od
Environment
- DXC version: dxcompiler.dll: 1.9 - 1.8.0.14709 (main, 0e7591a); dxil.dll: 1.9(1.8.0.14709)
- Host Operating System: 23H2 22635.5305
Metadata
Metadata
Assignees
Labels
Type
Projects
Status