GPU: Fix VertexShaderOutputMask in non-accelerated draws (#787)

This commit is contained in:
wheremyfoodat
2025-07-23 03:54:05 +03:00
committed by GitHub
parent 97b2557391
commit b8cbfcca89

View File

@@ -182,6 +182,7 @@ void GPU::drawArrays() {
// We can have up to 16 attributes, each one consisting of 4 floats // We can have up to 16 attributes, each one consisting of 4 floats
constexpr u32 maxAttrSizeInFloats = 16 * 4; constexpr u32 maxAttrSizeInFloats = 16 * 4;
setVsOutputMask(regs[PICA::InternalRegs::VertexShaderOutputMask]);
// Base address for vertex attributes // Base address for vertex attributes
// The vertex base is always on a quadword boundary because the PICA does weird alignment shit any time possible // The vertex base is always on a quadword boundary because the PICA does weird alignment shit any time possible