KhronosGroup / SPIRV-Registry

SPIR-V specs
109 stars 72 forks source link

Update DebugGlobalVariable's Variable field #231

Closed LU-JOHN closed 7 months ago

LU-JOHN commented 7 months ago

Update description of DebugGlobalVariable's Variable field to allow Variable to hold a DebugExpression if the associated variable was optimized out. The DebugExpression will hold the constant value of the variable that was optimized out.

arcady-lunarg commented 7 months ago

Ultimately this debug info is consumed by Renderdoc so I think it might be good to hear @baldurk's opinion here.

bashbaug commented 7 months ago

Merging as discussed in the January 24th teleconference.