diff options
author | Kenneth Graunke <[email protected]> | 2019-01-15 23:41:34 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:11 -0800 |
commit | 0f677b0d876b6b2d9270dd9baca0f674532b4a70 (patch) | |
tree | 93e2d2f6051256af34138bf65dc56b48f5d2d27f /src/gallium/drivers | |
parent | 3b336a15139f30dcfa1a7f8191153807609860c3 (diff) |
iris: Don't enable smooth points when point sprites are enabled
dEQP-GLES3.functional.rasterization.fbo.rbo_multisample_*.primitives.points
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/iris/iris_state.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index e77c991ecc1..49075418d3b 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -1122,8 +1122,6 @@ iris_create_rasterizer_state(struct pipe_context *ctx, malloc(sizeof(struct iris_rasterizer_state)); #if 0 - point_quad_rasterization -> SBE? - not necessary? { poly_smooth @@ -1167,7 +1165,8 @@ iris_create_rasterizer_state(struct pipe_context *ctx, state->line_smooth ? _10pixels : _05pixels; sf.LastPixelEnable = state->line_last_pixel; sf.LineWidth = line_width; - sf.SmoothPointEnable = state->point_smooth || state->multisample; + sf.SmoothPointEnable = (state->point_smooth || state->multisample) && + !state->point_quad_rasterization; sf.PointWidthSource = state->point_size_per_vertex ? Vertex : State; sf.PointWidth = state->point_size; @@ -1192,7 +1191,7 @@ iris_create_rasterizer_state(struct pipe_context *ctx, rr.GlobalDepthOffsetConstant = state->offset_units * 2; rr.GlobalDepthOffsetScale = state->offset_scale; rr.GlobalDepthOffsetClamp = state->offset_clamp; - rr.SmoothPointEnable = state->point_smooth || state->multisample; + rr.SmoothPointEnable = state->point_smooth; rr.AntialiasingEnable = state->line_smooth; rr.ScissorRectangleEnable = state->scissor; #if GEN_GEN >= 9 |