diff options
author | Marek Olšák <[email protected]> | 2015-07-30 16:11:50 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-08-06 20:11:43 +0200 |
commit | 7d3939f0de7dcb5e68eca638d5832c683a124775 (patch) | |
tree | 5fa464693e64579134582201a02b9839910f4707 /src/glsl | |
parent | c63e8b1193fd380e999b8ef258a20e57884820f4 (diff) |
mesa: save which transform feedback buffer is associated with which stream
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/glsl')
-rw-r--r-- | src/glsl/link_varyings.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/link_varyings.cpp b/src/glsl/link_varyings.cpp index 1c52ff35f44..f7a7b8c4c5b 100644 --- a/src/glsl/link_varyings.cpp +++ b/src/glsl/link_varyings.cpp @@ -572,6 +572,7 @@ tfeedback_decl::store(struct gl_context *ctx, struct gl_shader_program *prog, info->Outputs[info->NumOutputs].DstOffset = info->BufferStride[buffer]; ++info->NumOutputs; info->BufferStride[buffer] += output_size; + info->BufferStream[buffer] = this->stream_id; num_components -= output_size; location++; location_frac = 0; |