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 committed 2024-02-14 11:10:15 +00:00
1 parent 045a71082b
commit 226bf7071b
9 files changed
+19 -4

No files matched your search

+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),