Skip to content
  • Dave Airlie's avatar
    draw: add support for later transform feedback extensions · 55d37eb4
    Dave Airlie authored
    
    
    This adds support to draw for the new features of transform feedback.
    
    a) fix count_from_stream_output, using max_index+1 for now but it looks
    like it should be valid as its derived from the vertex elements/vbo.
    
    b) fix striding and dst offsets in output buffers - was just wrong before.
    
    c) fix crash if tfb is suspended (so.num_targets == 0)
    
    This also enables the new features on softpipe. It should be possible
    to enable them on llvmpipe as well after this commit, but would need
    to schedule piglit runs.
    
    Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
    55d37eb4