[Mesa-dev] [PATCH 3/9] i965: remove redundant initialization of blorp program data

Topi Pohjolainen topi.pohjolainen at intel.com
Wed Nov 27 13:10:59 PST 2013


As the entire structure is memset just before compilation.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
---
 src/mesa/drivers/dri/i965/brw_blorp_clear.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_blorp_clear.cpp b/src/mesa/drivers/dri/i965/brw_blorp_clear.cpp
index 02ec273..2fa0b50 100644
--- a/src/mesa/drivers/dri/i965/brw_blorp_clear.cpp
+++ b/src/mesa/drivers/dri/i965/brw_blorp_clear.cpp
@@ -128,8 +128,6 @@ brw_blorp_const_color_program::brw_blorp_const_color_program(
      clear_rgba(),
      base_mrf(0)
 {
-   prog_data.first_curbe_grf = 0;
-   prog_data.persample_msaa_dispatch = false;
    brw_init_compile(brw, &func, mem_ctx);
 }
 
-- 
1.8.3.1



More information about the mesa-dev mailing list