Skip to content

Commit

Permalink
Add handling for shading rate builtin in SPIR-V
Browse files Browse the repository at this point in the history
  • Loading branch information
baldurk committed Mar 5, 2024
1 parent b9fd432 commit b902528
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions renderdoc/driver/shaders/spirv/spirv_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ ShaderBuiltin MakeShaderBuiltin(ShaderStage stage, const rdcspv::BuiltIn el)
case rdcspv::BuiltIn::PrimitiveLineIndicesEXT: return ShaderBuiltin::OutputIndices;
case rdcspv::BuiltIn::PrimitiveTriangleIndicesEXT: return ShaderBuiltin::OutputIndices;
case rdcspv::BuiltIn::CullPrimitiveEXT: return ShaderBuiltin::CullPrimitive;
case rdcspv::BuiltIn::ShadingRateKHR: return ShaderBuiltin::PackedFragRate;
default: break;
}

Expand Down

0 comments on commit b902528

Please sign in to comment.