summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_minmax_index.c
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2016-01-11 15:46:39 -0500
committerNicolai Hähnle <[email protected]>2016-02-03 14:03:59 +0100
commit115c643b1669bd050af8d890adbfc771d9ff8126 (patch)
tree92a2235c68050f1efa2d09d099ca2ea62dd6956a /src/mesa/vbo/vbo_minmax_index.c
parent6b057f8ecc43be2e190e53599bdd6b8cc96b6f19 (diff)
mesa: add USAGE_DISABLE_MINMAX_CACHE flag to buffer UsageHistory
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/vbo/vbo_minmax_index.c')
-rw-r--r--src/mesa/vbo/vbo_minmax_index.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_minmax_index.c b/src/mesa/vbo/vbo_minmax_index.c
index 1aabab3434f..47b0d9cf2a3 100644
--- a/src/mesa/vbo/vbo_minmax_index.c
+++ b/src/mesa/vbo/vbo_minmax_index.c
@@ -78,7 +78,8 @@ vbo_use_minmax_cache(struct gl_buffer_object *bufferObj)
USAGE_ATOMIC_COUNTER_BUFFER |
USAGE_SHADER_STORAGE_BUFFER |
USAGE_TRANSFORM_FEEDBACK_BUFFER |
- USAGE_PIXEL_PACK_BUFFER))
+ USAGE_PIXEL_PACK_BUFFER |
+ USAGE_DISABLE_MINMAX_CACHE))
return GL_FALSE;
if ((bufferObj->Mappings[MAP_USER].AccessFlags &