slang icon indicating copy to clipboard operation
slang copied to clipboard

Feature Request: Support for Payload Access Qualifiers

Open natevm opened this issue 1 year ago • 4 comments

With SM 6.6 and 6.7, DXR and HLSL supports "Payload access qualifiers" (PAQs) which allow users to specify if and where payload fields are read and written from / to.

More information here: https://microsoft.github.io/DirectX-Specs/d3d/Raytracing.html#payload-access-qualifiers

At the moment, Slang does not yet have this feature, which is causing me some migration pain when moving from HLSL / DXC to Slang.

Could we consider adding this feature?

natevm avatar Jan 13 '24 19:01 natevm

This shouldn't be hard to add. Does SPIRV support this?

csyonghe avatar Jan 17 '24 01:01 csyonghe

Asking around. I know that DXC supports them when targeting SPIRV, but I’m not sure if it has any effects on the actual IR itself.

natevm avatar Jan 17 '24 04:01 natevm

Moving out to Q2 because this isn't as urgent as other Q1 items

swoods-nv avatar Mar 14 '24 19:03 swoods-nv

Not a priority. Putting back on the backlog

bmillsNV avatar Apr 30 '24 17:04 bmillsNV