mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-09 17:19:59 +00:00
Merge pull request #1207 from degasus/hotfix
Report correct shader size.
This commit is contained in:
commit
6683bf50b5
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ public:
|
||||||
|
|
||||||
/// Gets the size of the shader in guest memory, required for cache management
|
/// Gets the size of the shader in guest memory, required for cache management
|
||||||
size_t GetSizeInBytes() const {
|
size_t GetSizeInBytes() const {
|
||||||
return sizeof(GLShader::ProgramCode);
|
return GLShader::MAX_PROGRAM_CODE_LENGTH * sizeof(u64);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Gets the shader entries for the shader
|
/// Gets the shader entries for the shader
|
||||||
|
|
Loading…
Reference in a new issue