graphics: accept AGC vertex-buffer-only shaders

This commit is contained in:
nmzik
2026-08-16 16:54:27 +02:00
parent 93398d6d0f
commit b0bd6470f3
3 changed files with 34 additions and 7 deletions
+1 -1
View File
@@ -811,7 +811,7 @@ static bool ShaderGetStaticInputInfoVS(const HW::VertexShaderInfo& regs,
return false;
}
if (metadata.vertex_buffer_reg >= 0) {
if (metadata.vertex_attrib_reg >= 0) {
info.fetch_external = false;
info.fetch_embedded = true;
info.fetch_attrib_reg = metadata.vertex_attrib_reg;