mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-14 15:30:37 +01:00
fix multi-draw buffer regression
This commit is contained in:
parent
118c2bc860
commit
bbb042f0b8
1 changed files with 1 additions and 2 deletions
|
|
@ -1402,9 +1402,8 @@ _swrast_write_rgba_span( GLcontext *ctx, SWspan *span)
|
|||
*/
|
||||
{
|
||||
const struct gl_fragment_program *fp = ctx->FragmentProgram._Current;
|
||||
const GLboolean multiFragOutputs
|
||||
= fp && fp->Base.InputsRead >= (1 << FRAG_RESULT_DATA0);
|
||||
const GLuint numBuffers = fb->_NumColorDrawBuffers;
|
||||
const GLboolean multiFragOutputs = numBuffers > 1;
|
||||
GLuint buf;
|
||||
|
||||
for (buf = 0; buf < numBuffers; buf++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue