projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bead22
)
broadcom/vc5: Enable NIR txd lowering on all txd instructions.
author
Eric Anholt
<eric@anholt.net>
Wed, 22 Nov 2017 00:33:29 +0000
(16:33 -0800)
committer
Eric Anholt
<eric@anholt.net>
Thu, 14 Dec 2017 22:36:17 +0000
(14:36 -0800)
Fixes almost all of piglit's arb_shader_texture_lod grad tests, except for
the base -texgrad/texgradcube ones which fail on what appear to be
precision problems.
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/broadcom/compiler/vir.c
patch
|
blob
|
history
diff --git
a/src/broadcom/compiler/vir.c
b/src/broadcom/compiler/vir.c
index e7c050923c7a5276ff7c322dbbffe9bb244f6764..d95a150c720a02e196eed5be1a55f43bbba62471 100644
(file)
--- a/
src/broadcom/compiler/vir.c
+++ b/
src/broadcom/compiler/vir.c
@@
-541,6
+541,7
@@
static void
v3d_lower_nir(struct v3d_compile *c)
{
struct nir_lower_tex_options tex_options = {
+ .lower_txd = true,
.lower_rect = false, /* XXX */
.lower_txp = ~0,
/* Apply swizzles to all samplers. */