diff options
author | Nicolai Hähnle <[email protected]> | 2017-06-25 17:56:37 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2017-07-31 14:55:42 +0200 |
commit | a69afb68c9a54b475dd2f2588c6c54676b43f9dd (patch) | |
tree | 6f7fa5d880f642df2e69a240e5d65a9b94350a2e /src/gallium/drivers/radeonsi/si_shader.c | |
parent | 0f9e32519bb8d00dae0b9ce998d0183d1a46a121 (diff) |
radeonsi: use new function ac_build_umin for edgeflag clamping
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index 2827b9d06a2..473dd95a149 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -2502,7 +2502,7 @@ static void si_llvm_export_vs(struct lp_build_tgsi_context *bld_base, edgeflag_value = LLVMBuildFPToUI(ctx->gallivm.builder, edgeflag_value, ctx->i32, ""); - edgeflag_value = lp_build_min(&bld_base->int_bld, + edgeflag_value = ac_build_umin(&ctx->ac, edgeflag_value, ctx->i32_1); |