On 29 August 2012 12:34, Anuj Phogat <span dir="ltr"><<a href="mailto:anuj.phogat@gmail.com" target="_blank">anuj.phogat@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This is required to get the program recompiled when SampleAlphaToCoverage<br>
is enabled. Patch also removes a redundant comment in struct brw_wm_prog_key.<br>
<br>
Signed-off-by: Anuj Phogat <<a href="mailto:anuj.phogat@gmail.com">anuj.phogat@gmail.com</a>><br></blockquote><div><br>Reviewed-by: Paul Berry <<a href="mailto:stereotype441@gmail.com">stereotype441@gmail.com</a>><br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
---<br>
src/mesa/drivers/dri/i965/brw_wm.c | 3 ++-<br>
src/mesa/drivers/dri/i965/brw_wm.h | 2 +-<br>
2 files changed, 3 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/brw_wm.c b/src/mesa/drivers/dri/i965/brw_wm.c<br>
index 817320b..7ba1337 100644<br>
--- a/src/mesa/drivers/dri/i965/brw_wm.c<br>
+++ b/src/mesa/drivers/dri/i965/brw_wm.c<br>
@@ -685,7 +685,8 @@ const struct brw_tracked_state brw_wm_prog = {<br>
_NEW_LIGHT |<br>
_NEW_FRAG_CLAMP |<br>
_NEW_BUFFERS |<br>
- _NEW_TEXTURE),<br>
+ _NEW_TEXTURE |<br>
+ _NEW_MULTISAMPLE),<br>
.brw = (BRW_NEW_FRAGMENT_PROGRAM |<br>
BRW_NEW_WM_INPUT_DIMENSIONS |<br>
BRW_NEW_REDUCED_PRIMITIVE),<br>
diff --git a/src/mesa/drivers/dri/i965/brw_wm.h b/src/mesa/drivers/dri/i965/brw_wm.h<br>
index 5e4af27..2938449 100644<br>
--- a/src/mesa/drivers/dri/i965/brw_wm.h<br>
+++ b/src/mesa/drivers/dri/i965/brw_wm.h<br>
@@ -64,7 +64,7 @@ struct brw_wm_prog_key {<br>
GLuint stats_wm:1;<br>
GLuint flat_shade:1;<br>
GLuint nr_color_regions:5;<br>
- GLuint sample_alpha_to_coverage:1; /* _NEW_MULTISAMPLE */<br>
+ GLuint sample_alpha_to_coverage:1;<br>
GLuint render_to_fbo:1;<br>
GLuint clamp_fragment_color:1;<br>
GLuint line_aa:2;<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.7.7.6<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/mesa-dev" target="_blank">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</font></span></blockquote></div><br>