projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25cdf75
)
radeonsi: remove redundant ps_iter_samples clamp
author
Marek Olšák
<marek.olsak@amd.com>
Wed, 16 May 2018 01:51:07 +0000
(21:51 -0400)
committer
Marek Olšák
<marek.olsak@amd.com>
Thu, 24 May 2018 17:41:56 +0000
(13:41 -0400)
si_get_ps_iter_samples already does this.
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_state.c
b/src/gallium/drivers/radeonsi/si_state.c
index 675b1adbe6544a8e89bd86af08eb83ee91bdf42c..5bbf134b706a1c6da2d793e69cbc89fc132be9bf 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_state.c
+++ b/
src/gallium/drivers/radeonsi/si_state.c
@@
-3412,7
+3412,6
@@
static void si_emit_msaa_config(struct si_context *sctx)
};
unsigned log_samples = util_logbase2(coverage_samples);
unsigned ps_iter_samples = si_get_ps_iter_samples(sctx);
- ps_iter_samples = MIN2(ps_iter_samples, color_samples);
unsigned log_ps_iter_samples =
util_logbase2(util_next_power_of_two(ps_iter_samples));