rasterizer_cache: Reintroduce method for flushing.
This commit is contained in:
parent
9b929e934b
commit
0be7e82289
3 changed files with 23 additions and 0 deletions
|
@ -24,6 +24,9 @@ struct CachedBufferEntry final {
|
|||
return size;
|
||||
}
|
||||
|
||||
// We do not have to flush this cache as things in it are never modified by us.
|
||||
void Flush() {}
|
||||
|
||||
VAddr addr;
|
||||
std::size_t size;
|
||||
GLintptr offset;
|
||||
|
|
|
@ -33,6 +33,9 @@ public:
|
|||
return GLShader::MAX_PROGRAM_CODE_LENGTH * sizeof(u64);
|
||||
}
|
||||
|
||||
// We do not have to flush this cache as things in it are never modified by us.
|
||||
void Flush() {}
|
||||
|
||||
/// Gets the shader entries for the shader
|
||||
const GLShader::ShaderEntries& GetShaderEntries() const {
|
||||
return entries;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue