mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-14 14:28:08 +02:00
iris: lightmodel flat
This commit is contained in:
parent
4d04111bfb
commit
e0f3971280
1 changed files with 3 additions and 0 deletions
|
|
@ -1873,6 +1873,9 @@ iris_populate_fs_key(const struct iris_context *ice,
|
||||||
key->replicate_alpha = fb->nr_cbufs > 1 &&
|
key->replicate_alpha = fb->nr_cbufs > 1 &&
|
||||||
(zsa->alpha.enabled || blend->alpha_to_coverage);
|
(zsa->alpha.enabled || blend->alpha_to_coverage);
|
||||||
|
|
||||||
|
/* XXX: only bother if COL0/1 are read */
|
||||||
|
key->flat_shade = rast->flatshade;
|
||||||
|
|
||||||
// key->force_dual_color_blend for unigine
|
// key->force_dual_color_blend for unigine
|
||||||
#if 0
|
#if 0
|
||||||
if (cso_rast->multisample) {
|
if (cso_rast->multisample) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue