Skip to content
  • Marek Olšák's avatar
    gallium: improve the pipe_stream_output_info struct (v2) · 2449695e
    Marek Olšák authored
    There are 3 changes:
    
    1) stride is specified for each buffer, not just one, so that drivers don't
       have to derive it from the outputs
    
    2) new per-output property dst_offset, which specifies the offset
       into the buffer in dwords where the output should be stored,
       so that drivers don't have to compute the offsets manually;
       this will also be useful for gl_SkipComponents
       from ARB_transform_feedback3
    
    3) register_mask is removed, instead, there is start_component
       and num_components; register_mask with non-consecutive 1s
       doesn't make much sense (some hardware cannot do packing of components)
    
    Christoph Bumiller: fixed nvc0.
    
    v2: resolve merge conflicts in Draw and clean it up
    2449695e