mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 16:20:13 +01:00
i965: Fix bit allocation for number of color regions for ARB_draw_buffers.
If you used all 4 color targets we currently support, we would see 0 and end up just writing the first output. Give enough bits that we can do the maximum of 16. Fixes piglit fbo-drawbuffers-maxtargets.
This commit is contained in:
parent
fa552261ea
commit
08b42bc97d
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ struct brw_wm_prog_key {
|
|||
GLuint flat_shade:1;
|
||||
GLuint linear_color:1; /**< linear interpolation vs perspective interp */
|
||||
GLuint runtime_check_aads_emit:1;
|
||||
GLuint nr_color_regions:2;
|
||||
GLuint nr_color_regions:5;
|
||||
|
||||
GLbitfield proj_attrib_mask; /**< one bit per fragment program attribute */
|
||||
GLuint shadowtex_mask:16;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue