Merge pull request #2675 from ReinUsesLisp/opengl-buffer-cache

buffer_cache: Implement a generic buffer cache and its OpenGL backend
This commit is contained in:
bunnei 2019-07-14 19:03:43 -04:00 committed by GitHub
commit 3477b92289
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 538 additions and 408 deletions

View file

@ -67,6 +67,7 @@ public:
static constexpr std::size_t MaxShaderStage = 5;
// Maximum number of const buffers per shader stage.
static constexpr std::size_t MaxConstBuffers = 18;
static constexpr std::size_t MaxConstBufferSize = 0x10000;
enum class QueryMode : u32 {
Write = 0,