Tags: KhronosGroup/SPIRV-Tools
Tags
[OPT] Update DebugDeclare if the var is not an OpVariable (#6014) When inlining, DXC can pass the result of an OpAccessChain as a parameter. Even if this is not valid SPIR-V, HLSL allows this for the `this` pointer in member function. Part of legalizing is to inline these functions. When this happens, the `var` operand on a debug declare for the parameter will be replaced by the result of the OpAccessChain. This in invalid. The debug declare needs the variable with the indexes. This commit add a pass over each function after inlining that will fix up the debug declares that are invalid in this way. Fixes microsoft/DirectXShaderCompiler#5191
[OPT] Update DebugDeclare if the var is not an OpVariable (#6014) When inlining, DXC can pass the result of an OpAccessChain as a parameter. Even if this is not valid SPIR-V, HLSL allows this for the `this` pointer in member function. Part of legalizing is to inline these functions. When this happens, the `var` operand on a debug declare for the parameter will be replaced by the result of the OpAccessChain. This in invalid. The debug declare needs the variable with the indexes. This commit add a pass over each function after inlining that will fix up the debug declares that are invalid in this way. Fixes microsoft/DirectXShaderCompiler#5191
Prepare release (#5905) This is the second release candidate for v2024.4. Includes new commits since September, including Vulkan 1.4 support.
Prepare release (#5905) This is the second release candidate for v2024.4. Includes new commits since September, including Vulkan 1.4 support.
Prepare release (#5905) This is the second release candidate for v2024.4. Includes new commits since September, including Vulkan 1.4 support.
PreviousNext