shader_recompiler: Support PointSize and ViewportIndex attributes. (#3541)

This commit is contained in:
squidbus
2025-09-06 20:11:46 -07:00
committed by GitHub
parent 081d52e615
commit 38e6dd49b1
12 changed files with 83 additions and 36 deletions

View File

@@ -104,10 +104,10 @@ std::string NameOf(Attribute attribute) {
return "ClipDistanace";
case Attribute::CullDistance:
return "CullDistance";
case Attribute::RenderTargetId:
return "RenderTargetId";
case Attribute::ViewportId:
return "ViewportId";
case Attribute::RenderTargetIndex:
return "RenderTargetIndex";
case Attribute::ViewportIndex:
return "ViewportIndex";
case Attribute::VertexId:
return "VertexId";
case Attribute::PrimitiveId:
@@ -158,6 +158,8 @@ std::string NameOf(Attribute attribute) {
return "PackedHullInvocationInfo";
case Attribute::TessFactorsBufferBase:
return "TessFactorsBufferBase";
case Attribute::PointSize:
return "PointSize";
default:
break;
}