mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 14:38:06 +02:00
v3d: Fix precompile of FRAG_RESULT_DATA1 and higher outputs.
I was just leaving the other MRT targets than DATA0 out, by accident.
This commit is contained in:
parent
ba4b22011a
commit
17a649af05
1 changed files with 1 additions and 1 deletions
|
|
@ -200,7 +200,7 @@ v3d_shader_precompile(struct v3d_context *v3d,
|
|||
nir_foreach_variable(var, &s->outputs) {
|
||||
if (var->data.location == FRAG_RESULT_COLOR) {
|
||||
key.nr_cbufs = 1;
|
||||
} else if (var->data.location == FRAG_RESULT_DATA0) {
|
||||
} else if (var->data.location >= FRAG_RESULT_DATA0) {
|
||||
key.nr_cbufs = MAX2(key.nr_cbufs,
|
||||
var->data.location -
|
||||
FRAG_RESULT_DATA0 + 1);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue