Skip to content
Snippets Groups Projects
Commit 8d07d661 authored by Emma Anholt's avatar Emma Anholt
Browse files

glsl,nir: Switch the enum representing shader image formats to PIPE_FORMAT.


This means you can directly use format utils on it without having to have
your own GL enum to number-of-components switch statement (or whatever) in
your vulkan backend.

Thanks to imirkin for fixing up the nouveau driver (and a couple of core
details).

This fixes the computed qualifiers for EXT_shader_image_load_store's
non-integer sizeNxM qualifiers, which we don't have tests for.

Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> (v3d)
Tested-by: Marge Bot <mesa/mesa!3355>
Part-of: <mesa/mesa!3355>
parent 5bea0cf7
No related branches found
No related tags found
No related merge requests found
Showing
with 292 additions and 664 deletions
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