diff options
author | Rob Clark <[email protected]> | 2015-04-04 08:13:44 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2015-04-11 10:43:16 -0400 |
commit | 58add76791459e023f82eab973719c71779dae9d (patch) | |
tree | 660a4e01747fa67ff2bc3338bd9c55be04ff81b4 /src/mesa/drivers/dri/i965 | |
parent | fd65122a900a5779393faa0ede6737fafcb95a27 (diff) |
nir: split out lower_sub from lower_negate
Originally you had to have one or the other. But actually I don't want
either. (Or rather I want whatever is the minimum # of instructions.)
TODO: not sure where the best place to insert a check that driver hasn't
set *both* lower_negate and lower_sub?
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c index e52c44e3f6d..d4a7d3de7a7 100644 --- a/src/mesa/drivers/dri/i965/brw_context.c +++ b/src/mesa/drivers/dri/i965/brw_context.c @@ -558,6 +558,7 @@ brw_initialize_context_constants(struct brw_context *brw) * re-combine them as a later step. */ .lower_ffma = true, + .lower_sub = true, }; /* We want the GLSL compiler to emit code that uses condition codes */ |