mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-23 15:30:09 +00:00
lavapipe: set writemask for compute shader buffers
I don't know how this wasn't being set? cc: mesa-stable Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18827> (cherry picked from commit 6c935f3f3da5935a12ec1ace0f7541f047b3b526)
This commit is contained in:
parent
3c44bd1166
commit
23cab32e26
@ -670,7 +670,7 @@
|
||||
"description": "lavapipe: set writemask for compute shader buffers",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
@ -378,7 +378,7 @@ static void emit_compute_state(struct rendering_state *state)
|
||||
if (state->sb_dirty[PIPE_SHADER_COMPUTE]) {
|
||||
state->pctx->set_shader_buffers(state->pctx, PIPE_SHADER_COMPUTE,
|
||||
0, state->num_shader_buffers[PIPE_SHADER_COMPUTE],
|
||||
state->sb[PIPE_SHADER_COMPUTE], 0);
|
||||
state->sb[PIPE_SHADER_COMPUTE], state->access[MESA_SHADER_COMPUTE].buffers_written);
|
||||
state->sb_dirty[PIPE_SHADER_COMPUTE] = false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user