Skip to content

isl: Update shader channel select for missing components

Sagar Ghuge requested to merge sagarghuge/mesa:review/fix_format_swizzle into main

What does this MR do and why?

Bspec 57023: RENDER_SURFACE_STATE::Shader Channel Select Red

   "For channels not present in the surface format, the corresponding
   Surface Channel Select is either SCS_ZERO or SCS_ONE."

This restriction applies to alpha channels as well if an associated resource
is not used as a render target.
Edited by Sagar Ghuge

Merge request reports