Skip to content

microsoft/compiler: Maintain sorting of resource type in the context

Michael Tang requested to merge tangm/mesa:fix-ssbo-srv-uav-order into master

This change moves the SRVs associated with read-only SSBOs to be emitted before any other UAV. We do this because the validator expects resources to be emitted in a specific order, as noted by emit_module.

Previously, we emitted SSBOs as SRVs (read-only) or UAVs (read-write) after other UAVs.

/cc @jenatali @egalli

Edited by Michael Tang

Merge request reports