diff options
author | Paul Berry <[email protected]> | 2014-01-22 05:45:28 -0800 |
---|---|---|
committer | Paul Berry <[email protected]> | 2014-01-23 13:41:36 -0800 |
commit | 43e77215b13b2f86e461cd8a62b542fc6854dd1c (patch) | |
tree | 2c98d2e73cf948c652673d75b6775d1940b30f80 /src/mesa/main/texenv.c | |
parent | e190709119d8eb85c67bfbad5be699d39ad0118e (diff) |
i965/gen7: Use to the correct program when uploading transform feedback state.
Transform feedback may come from either the geometry shader or the
vertex shader, so we can't use
ctx->Shader.CurrentProgram[MESA_SHADER_VERTEX] to find the current
post-link transform feedback information. Fortunately we can use
ctx->TransformFeedback.CurrentObject->shader_program.
Cc: 10.0 <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/texenv.c')
0 files changed, 0 insertions, 0 deletions