mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 04:20:08 +01:00
i965/msaa: flag _NEW_MULTISAMPLE in the brw_tracked_state
This is required to get the program recompiled when SampleAlphaToCoverage is enabled. Reviewed-by: Paul Berry <stereotype441@gmail.com>
This commit is contained in:
parent
c2e9dd0276
commit
f8a8f069ee
2 changed files with 3 additions and 2 deletions
|
|
@ -685,7 +685,8 @@ const struct brw_tracked_state brw_wm_prog = {
|
|||
_NEW_LIGHT |
|
||||
_NEW_FRAG_CLAMP |
|
||||
_NEW_BUFFERS |
|
||||
_NEW_TEXTURE),
|
||||
_NEW_TEXTURE |
|
||||
_NEW_MULTISAMPLE),
|
||||
.brw = (BRW_NEW_FRAGMENT_PROGRAM |
|
||||
BRW_NEW_WM_INPUT_DIMENSIONS |
|
||||
BRW_NEW_REDUCED_PRIMITIVE),
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ struct brw_wm_prog_key {
|
|||
GLuint stats_wm:1;
|
||||
GLuint flat_shade:1;
|
||||
GLuint nr_color_regions:5;
|
||||
GLuint sample_alpha_to_coverage:1; /* _NEW_MULTISAMPLE */
|
||||
GLuint sample_alpha_to_coverage:1;
|
||||
GLuint render_to_fbo:1;
|
||||
GLuint clamp_fragment_color:1;
|
||||
GLuint line_aa:2;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue