mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
check for active shader, set FRAGPROG_BIT in raster mask
This commit is contained in:
parent
d1d4121682
commit
3073cf21d2
1 changed files with 5 additions and 0 deletions
|
|
@ -101,6 +101,11 @@ _swrast_update_rasterflags( GLcontext *ctx )
|
|||
rasterMask |= FRAGPROG_BIT;
|
||||
}
|
||||
|
||||
if (ctx->ShaderObjects.CurrentProgram) {
|
||||
/* XXX Vertex and/or fragment shader (what if no fragment shader??) */
|
||||
rasterMask |= FRAGPROG_BIT;
|
||||
}
|
||||
|
||||
if (ctx->ATIFragmentShader._Enabled) {
|
||||
rasterMask |= ATIFRAGSHADER_BIT;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue