mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-01 17:40:25 +01:00
texenv: Match state.c in deciding whether we'll be using a vertex shader.
(cherry picked from master, commit 40990d9dfb)
This commit is contained in:
parent
9d3929b60c
commit
f0df08abbe
1 changed files with 1 additions and 0 deletions
|
|
@ -263,6 +263,7 @@ static GLbitfield get_fp_input_mask( GLcontext *ctx )
|
|||
{
|
||||
/* _NEW_PROGRAM */
|
||||
const GLboolean vertexShader = (ctx->Shader.CurrentProgram &&
|
||||
ctx->Shader.CurrentProgram->LinkStatus &&
|
||||
ctx->Shader.CurrentProgram->VertexProgram);
|
||||
const GLboolean vertexProgram = ctx->VertexProgram._Enabled;
|
||||
GLbitfield fp_inputs = 0x0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue