aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_sf_emit.c
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-08-29 21:10:32 -0700
committerMatt Turner <[email protected]>2014-09-29 15:59:19 -0700
commit66ab9c22fecc053f099376c7b20958e0ffdf05ca (patch)
tree8de9a800a981ed46d456f523432b8a550bd8a469 /src/mesa/drivers/dri/i965/brw_sf_emit.c
parenta0df258f8961d25caab7c4d1ccae3402f998f454 (diff)
i965: Use BRW_MATH_DATA_SCALAR when source regioning is scalar.
Notice the mistaken (but harmless) argument swapping in brw_math_invert(). Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_sf_emit.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_sf_emit.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_sf_emit.c b/src/mesa/drivers/dri/i965/brw_sf_emit.c
index 04d21a8f4e9..e8bf7163e26 100644
--- a/src/mesa/drivers/dri/i965/brw_sf_emit.c
+++ b/src/mesa/drivers/dri/i965/brw_sf_emit.c
@@ -327,7 +327,6 @@ static void invert_det( struct brw_sf_compile *c)
BRW_MATH_FUNCTION_INV,
0,
c->det,
- BRW_MATH_DATA_SCALAR,
BRW_MATH_PRECISION_FULL);
}
@@ -616,7 +615,6 @@ void brw_emit_point_sprite_setup(struct brw_sf_compile *c, bool allocate)
BRW_MATH_FUNCTION_INV,
0,
c->dx0,
- BRW_MATH_DATA_SCALAR,
BRW_MATH_PRECISION_FULL);
brw_set_default_access_mode(p, BRW_ALIGN_16);