mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-31 09:10:32 +01:00
mesa: fix vertex program test in get_fp_input_mask()
We were accidentally using the fixed-function logic when a vertex shader was being used.
This commit is contained in:
parent
6b88d9606f
commit
8dc88cb643
1 changed files with 1 additions and 3 deletions
|
|
@ -227,9 +227,7 @@ static GLbitfield get_fp_input_mask( GLcontext *ctx )
|
|||
else if (ctx->RenderMode == GL_FEEDBACK) {
|
||||
fp_inputs = (FRAG_BIT_COL0 | FRAG_BIT_TEX0);
|
||||
}
|
||||
else if (!ctx->VertexProgram._Enabled ||
|
||||
!ctx->VertexProgram._Current) {
|
||||
|
||||
else if (!ctx->VertexProgram._Current) {
|
||||
/* Fixed function logic */
|
||||
GLbitfield varying_inputs = ctx->varying_vp_inputs;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue