iris: reemit SBE when sprite coord origin changes
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 2 Dec 2018 23:52:46 +0000 (15:52 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:10 +0000 (10:26 -0800)
fixes arb_point_sprite-checkerboard

src/gallium/drivers/iris/iris_state.c

index f41bf1430c70cb6904b763b635219bc0466e19dd..389f4b6f4d0d80c7cb431d4e8c26938d1cb0e59b 100644 (file)
@@ -1222,7 +1222,9 @@ iris_bind_rasterizer_state(struct pipe_context *ctx, void *state)
           cso_changed(clip_halfz))
          ice->state.dirty |= IRIS_DIRTY_CC_VIEWPORT;
 
-      if (cso_changed(sprite_coord_enable) || cso_changed(light_twoside))
+      if (cso_changed(sprite_coord_enable) ||
+          cso_changed(sprite_coord_mode) ||
+          cso_changed(light_twoside))
          ice->state.dirty |= IRIS_DIRTY_SBE;
    }