summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965/brw_swtnl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/i965/brw_swtnl.c')
-rw-r--r--src/gallium/drivers/i965/brw_swtnl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/i965/brw_swtnl.c b/src/gallium/drivers/i965/brw_swtnl.c
index 83f138f67ac..d2df8af9f40 100644
--- a/src/gallium/drivers/i965/brw_swtnl.c
+++ b/src/gallium/drivers/i965/brw_swtnl.c
@@ -12,13 +12,13 @@ static GLboolean check_fallbacks( struct brw_context *brw,
* use fallbacks. If we're forcing fallbacks, always
* use fallfacks.
*/
- if (brw->intel.conformance_mode == 0)
+ if (brw->flags.no_swtnl)
return GL_FALSE;
- if (brw->intel.conformance_mode == 2)
+ if (brw->flags.force_swtnl)
return GL_TRUE;
- if (ctx->Polygon.SmoothFlag) {
+ if (brw->curr.rast->tmpl.smooth_polys) {
for (i = 0; i < nr_prims; i++)
if (reduced_prim[prim[i].mode] == GL_TRIANGLES)
return GL_TRUE;