Skip to content

nir: some xfb-related fixes for lowered io

Mike Blumenkrantz requested to merge zmike/mesa:nir-xfb into main

tl;dr:

  • partially scalarizing single array members when the full array has indirect access is wacko (you randomly get some instrs with num_slots=1 in the middle of your big chungus array)
  • scalarizing stores like .xz when the xfb write mask is .xyzw breaks xfb

@mareko this probably fixes KHR-Single-GL46.enhanced_layouts.xfb_capture_inactive_output_component without opt_varyings if you change your backend to stop ignoring xfb components that aren't in the writemask

Merge request reports