mesa: add support to query GL_OFFSET for GL_TRANSFORM_FEEDBACK_VARYING
Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
@@ -742,6 +742,7 @@ tfeedback_decl::store(struct gl_context *ctx, struct gl_shader_program *prog,
|
||||
} else {
|
||||
xfb_offset = info->Buffers[buffer].Stride;
|
||||
}
|
||||
info->Varyings[info->NumVarying].Offset = xfb_offset * 4;
|
||||
|
||||
unsigned location = this->location;
|
||||
unsigned location_frac = this->location_frac;
|
||||
|
||||
Reference in New Issue
Block a user