Skip to content

microsoft/compiler: Add support for get_ssbo_size to translator

Enrico Galli requested to merge egalli/mesa:get_ssbo_size into main

Reusing emit_texture_size as DXIL uses the same dx.op.getDimensions intrinsic for both textures and SSBOs. Also, this changes depends on the fact that use_deref_buffer_array_length combined with nir_lower_explicit_io will create a get_ssbo_size intrinsic that takes in the result from load_vulkan_descriptor instead of vulkan_resource_index.

Merge request reports

Loading