summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/bufferobj.c
diff options
context:
space:
mode:
authorChris Forbes <[email protected]>2014-10-12 12:27:31 +1300
committerChris Forbes <[email protected]>2014-10-16 22:31:44 +1300
commit7bd6dfe93401ad6d6ba5018cbe167be8ce29d09d (patch)
tree44e71f65655303cbf1a343aedc8b9d7ba887abf6 /src/mesa/main/bufferobj.c
parentf1261db1eea0bea739d5d9e6e1f4ef8192431e26 (diff)
mesa: Mark buffer objects that are used as atomic counter buffers
Signed-off-by: Chris Forbes <[email protected]> Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/mesa/main/bufferobj.c')
-rw-r--r--src/mesa/main/bufferobj.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c
index c92056aa352..d6483080c6e 100644
--- a/src/mesa/main/bufferobj.c
+++ b/src/mesa/main/bufferobj.c
@@ -2770,6 +2770,7 @@ set_atomic_buffer_binding(struct gl_context *ctx,
} else {
binding->Offset = offset;
binding->Size = size;
+ bufObj->UsageHistory |= USAGE_ATOMIC_COUNTER_BUFFER;
}
}