diff options
author | Timothy Arceri <[email protected]> | 2016-03-10 16:17:13 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2016-03-31 12:53:02 +1100 |
commit | c5704bb350425162011367e47be8c69d424a8797 (patch) | |
tree | 31ae70054e4c8dc3972590f29961884db20edc4b /src/compiler/glsl/link_varyings.cpp | |
parent | 7234be0338813c0acd5b700ea2f7f20f7a972e51 (diff) |
mesa: add query support for GL_TRANSFORM_FEEDBACK_BUFFER interface
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/compiler/glsl/link_varyings.cpp')
-rw-r--r-- | src/compiler/glsl/link_varyings.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/glsl/link_varyings.cpp b/src/compiler/glsl/link_varyings.cpp index a3b7e1c65c7..848668c4381 100644 --- a/src/compiler/glsl/link_varyings.cpp +++ b/src/compiler/glsl/link_varyings.cpp @@ -826,6 +826,7 @@ tfeedback_decl::store(struct gl_context *ctx, struct gl_shader_program *prog, info->Varyings[info->NumVarying].Size = this->size; info->Varyings[info->NumVarying].BufferIndex = buffer_index; info->NumVarying++; + info->Buffers[buffer].NumVaryings++; return true; } |