Skip to content

iris: ForceZeroRTAIndexEnable if last geom stage does not write layer id

Tapani Pälli requested to merge tpalli/mesa:varying-slots into main
    iris: ForceZeroRTAIndexEnable if last geom stage does not write layer id
    
    This matches anv and specification behavior, change makes us toggle the
    field in tests/application that may use layered framebuffer but do not
    assign any value to gl_Layer.
    
    Example of such a test:
    KHR-GL46.geometry_shader.layered_rendering_boundary_condition.layered_rendering_boundary_condition_no_default_layer
    
    Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Edited by Tapani Pälli

Merge request reports