diff options
author | Dave Airlie <[email protected]> | 2017-11-01 14:30:13 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-11-10 08:39:35 +1000 |
commit | 9f1db21f287e76a9b36e0b240929aed4f59483e5 (patch) | |
tree | 34931b4e9808a816b2458d81a15a27fd0cd481e0 /src/mesa/state_tracker/st_context.h | |
parent | e0fb6de313f1a335fe628d057ad744872dab9446 (diff) |
st/mesa: start adding support for hw atomics atom. (v2)
This adds a new atom that calls the new driver API to
bind buffers containing hw atomics.
v2: fixup bindings for sparse buffers. (mareko/nha)
don't bind buffer atomics when hw atomics are enabled.
use NewAtomicBuffer (mareko)
Tested-By: Gert Wollny <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_context.h')
-rw-r--r-- | src/mesa/state_tracker/st_context.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_context.h b/src/mesa/state_tracker/st_context.h index ced915ec1b9..9f33eed8f36 100644 --- a/src/mesa/state_tracker/st_context.h +++ b/src/mesa/state_tracker/st_context.h @@ -129,6 +129,7 @@ struct st_context boolean invalidate_on_gl_viewport; boolean draw_needs_minmax_index; boolean vertex_array_out_of_memory; + boolean has_hw_atomics; /* Some state is contained in constant objects. * Other state is just parameter values. |