[GPU] GPR count limit is 128, not 64

This commit is contained in:
Triang3l
2022-06-26 14:45:49 +03:00
parent 4812b4ba8b
commit b787f2dec1
4 changed files with 25 additions and 10 deletions

View File

@@ -55,7 +55,9 @@ class ShaderTranslator {
// Register count from SQ_PROGRAM_CNTL, stored by the implementation in its
// modification bits.
virtual uint32_t GetModificationRegisterCount() const { return 64; }
virtual uint32_t GetModificationRegisterCount() const {
return xenos::kMaxShaderTempRegisters;
}
// True if the current shader is a vertex shader.
bool is_vertex_shader() const {