Add ShaderBuiltin::MultiViewIndex

Mapped to:
SPIR-V ViewIndex (which was previously mapped to ShaderBuiltin::ViewportIndex)
GL gl_ViewIndex
This commit is contained in:
Jake Turner
2024-02-14 11:10:15 +00:00
parent 045a71082b
commit 226bf7071b
9 changed files with 19 additions and 4 deletions
+1
View File
@@ -1653,6 +1653,7 @@ QString D3DSemanticString(const SigParameter &sig)
lit("SV_Barycentrics"),
lit("SV_CullPrimitive"),
lit("out indices"),
lit("SV_ViewID"),
};
static_assert(arraydim<ShaderBuiltin>() == ARRAY_COUNT(sysValues),