v3d: Fix predication with atomic image operations
authorJose Maria Casanova Crespo <jmcasanova@igalia.com>
Fri, 15 Nov 2019 13:46:30 +0000 (14:46 +0100)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Wed, 20 Nov 2019 10:20:55 +0000 (11:20 +0100)
commitd983055184320a843d0f056b4c0f7af53cff47ab
tree46d56de4fb9ceb0fbd454cf58e8f1c7d4a730b6f
parent36b099a7b0f949fac175cd8219f7e8c71b4eb04c
v3d: Fix predication with atomic image operations

Fixes dEQP test:
dEQP-GLES31.functional.synchronization.inter_call.with_memory_barrier.image_atomic_multiple_interleaved_write_read

Fixes piglit test:
spec/glsl-es-3.10/execution/cs-image-atomic-if-else.shader_test

Fixes: 6281f26f064ada ("v3d: Add support for shader_image_load_store.")
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/broadcom/compiler/v3d40_tex.c