Simon Moll

Results issues of Simon Moll

- DXIL opcode definitions - DXIL validation tests showing correct uses pass SM6.10 tracking bug: #7824

**Description** When declaring a payload struct with PAQs, memory leaks if one of the PAQ clauses specifies more than four shader stages. This is because the `hlsl::PayloadAccessAnnotation` keeps those stages...

bug

When generating HL IR from the HLSL AST, codegen currently uses the DXIL type `%dx.types.HitObject`. We should be generating an intermediate HL type instead as done for other object types....

sm6.9

Tracking bug to implement HLSL and DXIL diagnostics/validation for HitObject in unsupported contexts: - [ ] Add HLSL error diagnostics for HitObject in `cbuffer` and global declarations - [ ]...

WorldToObject4x3 and ObjectToWorld3x4 have been removed from the SER spec (https://github.com/microsoft/hlsl-specs/pull/475). Adjust the DXC implementation accordingly. Only the accessor opcodes are affected.

Current tests only check that valid dxil with the new CoopVec opcodes passes the validator. Add tests with invalid coopvec dxil that check for expected validation errors.

Diagnose problems specific to CoopVec during sema and test for those diagnostics. Current CoopVec implementation has no CoopVec-specific diagnostics on HLSL level. Invalid use of the builtins is rejected only...

There are two producers of `DxHitObject_MakeNop` calls atm, the direct HLSL call and the `HitObject` default ctor. The return type of the HL operation is either `HitObject` or `void` depending...

"I think AST tests belong under SemaHLSL. We could probably address this later for these tests, but in the future, we should be putting them there. For -fcgl and full...

The parameter type in static member functions is off-by-one leading to invalid AST dumps such as this one (from `hitobject_make.hlsl`): ``` | | |-FunctionTemplateDecl {{[^ ]+}} MakeMiss | | |...