lavapipe: s/u_foreach_bit/u_foreach_bit64/ in handle_pipeline_access()

Since the lvp_access_info fields are uint64_t.

Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18213>
This commit is contained in:
Brian Paul
2022-08-23 11:53:00 -06:00
committed by Marge Bot
parent 79208d8bf3
commit ce65c7f0e9
+2 -2
View File
@@ -977,11 +977,11 @@ handle_pipeline_access(struct rendering_state *state, gl_shader_stage stage)
state->iv[pstage][i].access = 0;
state->iv[pstage][i].shader_access = 0;
}
u_foreach_bit(idx, state->access[stage].images_read) {
u_foreach_bit64(idx, state->access[stage].images_read) {
state->iv[pstage][idx].access |= PIPE_IMAGE_ACCESS_READ;
state->iv[pstage][idx].shader_access |= PIPE_IMAGE_ACCESS_READ;
}
u_foreach_bit(idx, state->access[stage].images_written) {
u_foreach_bit64(idx, state->access[stage].images_written) {
state->iv[pstage][idx].access |= PIPE_IMAGE_ACCESS_WRITE;
state->iv[pstage][idx].shader_access |= PIPE_IMAGE_ACCESS_WRITE;
}