Emit debug info for accelerationStructure and rayQuery variables. (#3502)

* Add debug info for accelerationStructure and rayQuery variables.
* Add test case for accelerationStructure and rayQuery
This commit is contained in:
Sajjad Mirza 2024-02-14 16:43:02 -08:00 committed by GitHub
parent 114dae9114
commit 7a2a1623d8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 200 additions and 14 deletions

View file

@ -326,8 +326,6 @@ public:
// See if a resultId is valid for use as an initializer.
bool isValidInitializer(Id resultId) const { return isConstant(resultId) || isGlobalVariable(resultId); }
bool isRayTracingOpCode(Op opcode) const;
int getScalarTypeWidth(Id typeId) const
{
Id scalarTypeId = getScalarTypeId(typeId);