[Mesa-dev] [PATCH 4/5] st/nine: Ignore pipe_rasterizer_state::line_last_pixel.

Jose Fonseca jfonseca at vmware.com
Mon Sep 14 04:09:53 PDT 2015


This state is ignored by most gallium drivers.

I also don't know of any D3D9 application that relies on
D3DRS_LASTPIXEL.  And even WHCK itself doesn't seem to test it.
---
 src/gallium/state_trackers/nine/nine_pipe.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/gallium/state_trackers/nine/nine_pipe.c b/src/gallium/state_trackers/nine/nine_pipe.c
index 2be30f7..b6c0d59 100644
--- a/src/gallium/state_trackers/nine/nine_pipe.c
+++ b/src/gallium/state_trackers/nine/nine_pipe.c
@@ -97,7 +97,6 @@ nine_convert_rasterizer_state(struct pipe_rasterizer_state *rast_state, const DW
     rast.multisample = !!rs[D3DRS_MULTISAMPLEANTIALIAS];
     rast.line_smooth = !!rs[D3DRS_ANTIALIASEDLINEENABLE];
  /* rast.line_stipple_enable = 0; */
-    rast.line_last_pixel = !!rs[D3DRS_LASTPIXEL];
     rast.flatshade_first = 1;
  /* rast.half_pixel_center = 0; */
  /* rast.lower_left_origin = 0; */
-- 
2.1.4



More information about the mesa-dev mailing list