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:
eb378e4
)
intel/compiler: Make room for maximum dest size in nir_emit_texture.
author
Timur Kristóf
<timur.kristof@gmail.com>
Tue, 16 Mar 2021 20:06:14 +0000
(21:06 +0100)
committer
Marge Bot
<eric+marge@anholt.net>
Wed, 17 Mar 2021 03:47:23 +0000
(
03:47
+0000)
The maximum dest_size is 5, not 4.
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9634>
src/intel/compiler/brw_fs_nir.cpp
patch
|
blob
|
history
diff --git
a/src/intel/compiler/brw_fs_nir.cpp
b/src/intel/compiler/brw_fs_nir.cpp
index
05ab5a6
..
8123c89
100644
(file)
--- a/
src/intel/compiler/brw_fs_nir.cpp
+++ b/
src/intel/compiler/brw_fs_nir.cpp
@@
-5962,7
+5962,7
@@
fs_visitor::nir_emit_texture(const fs_builder &bld, nir_tex_instr *instr)
if (instr->op == nir_texop_tg4 && devinfo->gen == 6)
emit_gen6_gather_wa(key_tex->gen6_gather_wa[texture], dst);
- fs_reg nir_dest[
4
];
+ fs_reg nir_dest[
5
];
for (unsigned i = 0; i < dest_size; i++)
nir_dest[i] = offset(dst, bld, i);