forked from eden-emu/eden
maxwell_3d: Use correct const buffer size and check bounds.
- Fixes mem corruption with Super Mario Odyssey and Pokkén Tournament DX.
This commit is contained in:
parent
4fa3511a63
commit
57982df105
4 changed files with 12 additions and 3 deletions
|
|
@ -44,7 +44,7 @@ public:
|
|||
static constexpr size_t MaxShaderProgram = 6;
|
||||
static constexpr size_t MaxShaderStage = 5;
|
||||
// Maximum number of const buffers per shader stage.
|
||||
static constexpr size_t MaxConstBuffers = 16;
|
||||
static constexpr size_t MaxConstBuffers = 18;
|
||||
|
||||
enum class QueryMode : u32 {
|
||||
Write = 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue