Skip to content
  • José María Casanova Crespo's avatar
    iris: Enable ARB_shader_draw_parameters support · 4122665d
    José María Casanova Crespo authored and Kenneth Graunke's avatar Kenneth Graunke committed
    
    
    Additional VERTEX_ELEMENT_STATE are used to store basevertex and
    baseinstance and drawid updating the DWordLength of the
    3DSTATE_VERTEX_ELEMENTS command.
    
    This passes all piglit tests for spec.*draw_parameters.* tests
    and VK-GL-CTS KHR-GL45.shader_draw_parameters_tests.* tests.
    
    Now we only mark a dirty_update when parameters are changed or
    when we have an indirect draw.
    
    We enable PIPE_CAP_DRAW_PARAMETERS on Iris.
    
    There is no edge flag support in the Vertex Elements setup.
    
    Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
    4122665d