Skip to content
Snippets Groups Projects
Commit 5be8b7a3 authored by Markus Wick's avatar Markus Wick
Browse files

Report correct shader size.

Seems like this was an oversee in regards to 1fd979f5
It changed GLShader::ProgramCode to a std::vector, so sizeof is wrong.
parent 26aaa86e
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ public:
/// Gets the size of the shader in guest memory, required for cache management
size_t GetSizeInBytes() const {
return sizeof(GLShader::ProgramCode);
return GLShader::MAX_PROGRAM_CODE_LENGTH * sizeof(u64);
}
/// Gets the shader entries for the shader
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment