diff options
author | Marek Olšák <[email protected]> | 2019-02-27 21:54:47 -0500 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-04-04 19:28:52 -0400 |
commit | 66a82ec6f0fa3586fecee001da6bae1fc33f12d1 (patch) | |
tree | 91352a6aae525110ad061b510bc1b9b21670a3b8 /src/mesa/state_tracker/st_atom_atomicbuf.c | |
parent | b19494c54e704ce23f5d0523c321fbffc0f70494 (diff) |
gallium: add writable_bitmask parameter into set_shader_buffers
to indicate write usage per buffer.
This is just a hint (it will be used by radeonsi).
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_atom_atomicbuf.c')
-rw-r--r-- | src/mesa/state_tracker/st_atom_atomicbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_atom_atomicbuf.c b/src/mesa/state_tracker/st_atom_atomicbuf.c index 6907d0064d8..5a8ff0f05f2 100644 --- a/src/mesa/state_tracker/st_atom_atomicbuf.c +++ b/src/mesa/state_tracker/st_atom_atomicbuf.c @@ -81,7 +81,7 @@ st_bind_atomics(struct st_context *st, struct gl_program *prog, st_binding_to_sb(&st->ctx->AtomicBufferBindings[atomic->Binding], &sb); st->pipe->set_shader_buffers(st->pipe, shader_type, - atomic->Binding, 1, &sb); + atomic->Binding, 1, &sb, 0x1); } } |