mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-28 07:30:22 +01:00
comments
This commit is contained in:
parent
a6eccf9e4f
commit
a47b5764c0
1 changed files with 4 additions and 2 deletions
|
|
@ -39,7 +39,7 @@
|
|||
#include "sp_quad.h"
|
||||
|
||||
struct exec_machine {
|
||||
const struct setup_coefficient *coef;
|
||||
const struct setup_coefficient *coef; /**< will point to quad->coef */
|
||||
|
||||
GLfloat attr[FRAG_ATTRIB_MAX][4][QUAD_SIZE];
|
||||
};
|
||||
|
|
@ -200,7 +200,9 @@ shade_quad( struct quad_stage *qs, struct quad_header *quad )
|
|||
}
|
||||
#endif
|
||||
|
||||
qs->next->run(qs->next, quad);
|
||||
/* shader may cull fragments */
|
||||
if (quad->mask)
|
||||
qs->next->run(qs->next, quad);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue