Skip to content

r600: fix r600_init_shader_caps() has_atomics issue

What does this MR do and why?

r600: fix r600_init_shader_caps() has_atomics issue

Indeed, has_atomics is not yet initialized at the time of the
call of r600_init_shader_caps(). This change fixes this issue.

For instance, this issue is triggered with
"piglit/bin/clearbuffer-depth-cs-probe -auto -fbo":
clearbuffer-depth-cs-probe: ../src/gallium/drivers/r600/evergreen_state.c:5039: evergreen_emit_atomic_buffer_setup: Assertion `resource' failed.
Aborted

Fixes: 390854e52358 ("r600: init shader and compute caps")
Signed-off-by: Patrick Lerda <patrick9876@free.fr>

Merge request reports

Loading