diff options
author | Rob Clark <[email protected]> | 2015-09-14 11:54:05 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2015-09-16 08:28:18 -0400 |
commit | b3958f9f8387b5967530ff77a08120074042c8e5 (patch) | |
tree | 7d8b27165761295a2410fd1353af71edb72c38c5 /src/gallium/drivers/freedreno | |
parent | d9efe40dc924b8bfd93c0572bd70c0585f823628 (diff) |
freedreno/ir3: use NIR to lower ffract instead of tgsi_lowering
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno')
-rw-r--r-- | src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c b/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c index 5a069fb5378..7ce1c976e9c 100644 --- a/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c +++ b/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c @@ -134,6 +134,7 @@ static struct nir_shader *to_nir(const struct tgsi_token *tokens) .lower_fsat = true, .lower_scmp = true, .lower_flrp = true, + .lower_ffract = true, .native_integers = true, }; bool progress; @@ -187,7 +188,6 @@ lower_tgsi(struct ir3_compile *ctx, const struct tgsi_token *tokens, struct tgsi_shader_info info; struct tgsi_lowering_config lconfig = { .color_two_side = so->key.color_two_side, - .lower_FRC = true, }; switch (so->type) { |