summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965/brw_swtnl.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-10-25 00:02:16 +0100
committerKeith Whitwell <[email protected]>2009-10-25 00:02:16 +0100
commit4dd2f6640b70e2313f8771f7588aa49a861153aa (patch)
treed2cbc2b694839380de8e31a8a72f8c3d8f7c5eb1 /src/gallium/drivers/i965/brw_swtnl.c
parent4f7931bb3554cb1839adc2044e3abe6d4af8b0b5 (diff)
i965g: more work on compiling, particularly the brw_draw files
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;