mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
When in GL_FEEDBACK mode, make sure we emit color and texcoord registers.
This commit is contained in:
parent
38743e2ef1
commit
7392dac962
1 changed files with 5 additions and 0 deletions
|
|
@ -135,6 +135,11 @@ static struct state_key *make_state_key( GLcontext *ctx )
|
|||
|
||||
key->fragprog_inputs_read = fp->Base.InputsRead;
|
||||
|
||||
if (ctx->RenderMode == GL_FEEDBACK) {
|
||||
/* make sure the vertprog emits color and tex0 */
|
||||
key->fragprog_inputs_read |= (FRAG_BIT_COL0 | FRAG_BIT_TEX0);
|
||||
}
|
||||
|
||||
key->separate_specular = (ctx->Light.Model.ColorControl ==
|
||||
GL_SEPARATE_SPECULAR_COLOR);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue