projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b108e6
)
nir: gather fs.uses_sample_qualifier from lowered IO
author
Marek Olšák
<marek.olsak@amd.com>
Wed, 16 Sep 2020 06:03:21 +0000
(
02:03
-0400)
committer
Marek Olšák
<marek.olsak@amd.com>
Fri, 25 Sep 2020 06:29:30 +0000
(
02:29
-0400)
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6758>
src/compiler/nir/nir_gather_info.c
patch
|
blob
|
history
diff --git
a/src/compiler/nir/nir_gather_info.c
b/src/compiler/nir/nir_gather_info.c
index
1780d3e
..
ae209f4
100644
(file)
--- a/
src/compiler/nir/nir_gather_info.c
+++ b/
src/compiler/nir/nir_gather_info.c
@@
-502,6
+502,8
@@
gather_intrinsic_info(nir_intrinsic_instr *instr, nir_shader *shader,
shader->info.system_values_read |=
BITFIELD64_BIT(SYSTEM_VALUE_BARYCENTRIC_LINEAR_SAMPLE);
}
+ if (shader->info.stage == MESA_SHADER_FRAGMENT)
+ shader->info.fs.uses_sample_qualifier = true;
break;
case nir_intrinsic_quad_broadcast: