[Mesa-dev] [PATCH 3/3] st/nine: always set the MUL_ZERO_WINS flag

Ilia Mirkin imirkin at alum.mit.edu
Sun Jan 15 18:36:45 UTC 2017


Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
 src/gallium/state_trackers/nine/nine_shader.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/state_trackers/nine/nine_shader.c b/src/gallium/state_trackers/nine/nine_shader.c
index 0a75c07..cb25253 100644
--- a/src/gallium/state_trackers/nine/nine_shader.c
+++ b/src/gallium/state_trackers/nine/nine_shader.c
@@ -3563,6 +3563,7 @@ nine_translate_shader(struct NineDevice9 *device, struct nine_shader_info *info,
         if (!tx->shift_wpos)
             ureg_property(tx->ureg, TGSI_PROPERTY_FS_COORD_PIXEL_CENTER, TGSI_FS_COORD_PIXEL_CENTER_INTEGER);
     }
+    ureg_property(tx->ureg, TGSI_PROPERTY_MUL_ZERO_WINS, 1);
 
     while (!sm1_parse_eof(tx) && !tx->failure)
         sm1_parse_instruction(tx);
-- 
2.10.2



More information about the mesa-dev mailing list