diff options
author | Kenneth Graunke <[email protected]> | 2017-11-25 16:59:27 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2017-11-28 15:23:16 -0800 |
commit | 760e0156dfd5cf0281bc964a8090c792fc44ab16 (patch) | |
tree | 09890eb6163985d483c2587761f985dd0b63838c /src/mesa | |
parent | 43b0e5f5cd87b3ca4dc97a6373cbee1f1f129f06 (diff) |
i965: Fix Smooth Point Enables.
We want to program the 3DSTATE_RASTER field to the gl_context value,
not the other way around.
Fixes: 13ac46557ab1 (i965: Port Gen8+ 3DSTATE_RASTER state to genxml.)
Reviewed-by: Jason Ekstrand <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/genX_state_upload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/genX_state_upload.c b/src/mesa/drivers/dri/i965/genX_state_upload.c index 112f48181b0..2808363e3ad 100644 --- a/src/mesa/drivers/dri/i965/genX_state_upload.c +++ b/src/mesa/drivers/dri/i965/genX_state_upload.c @@ -4322,7 +4322,7 @@ genX(upload_raster)(struct brw_context *brw) raster.CullMode = CULLMODE_NONE; } - point->SmoothFlag = raster.SmoothPointEnable; + raster.SmoothPointEnable = point->SmoothFlag; raster.DXMultisampleRasterizationEnable = _mesa_is_multisample_enabled(ctx); |