i965: Fix Smooth Point Enables.

We want to program the 3DSTATE_RASTER field to the gl_context value,
not the other way around.

Fixes: 13ac46557a (i965: Port Gen8+ 3DSTATE_RASTER state to genxml.)

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
This commit is contained in:
Kenneth Graunke 2017-11-25 16:59:27 -08:00
parent 43b0e5f5cd
commit 760e0156df

View file

@ -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);