Skip to content
Snippets Groups Projects
Commit aa9b4e30 authored by Pierre-Eric Pelloux-Prayer's avatar Pierre-Eric Pelloux-Prayer Committed by Eric Engestrom
Browse files

glsl: only allow 32 bits atomic operations on images


EXT_shader_image_load_store says:
   The format of the image unit must be in the "1x32" equivalence class
   otherwise the atomic operation is invalid.

ARB_shader_image_load_store says:
   We will only support 32-bit atomic operations on images

Fixes: fc0a2e5d ("glsl: add EXT_shader_image_load_store new image functions")
Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
Part-of: <!5688>
(cherry picked from commit 1e3aeda5)
parent 8e44e8cf
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment