OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48f8f0e
)
Revert "freedreno/ir3: enable pre-fs texture fetch for a6xx"
author
Rob Clark
<robdclark@chromium.org>
Mon, 18 Nov 2019 17:42:03 +0000
(09:42 -0800)
committer
Dylan Baker
<dylan@pnwbakers.com>
Wed, 20 Nov 2019 00:54:04 +0000
(16:54 -0800)
This reverts commit
f30c256ec05618fb40dccbd94a3434b2f63db478
.
See
088a2a4cab031f1505d531698109f330f94f3072
Fixes:
f30c256ec05
("freedreno/ir3: enable pre-fs texture fetch for a6xx")
Signed-off-by: Rob Clark <robdclark@chromium.org>
src/freedreno/ir3/ir3_context.c
patch
|
blob
|
history
diff --git
a/src/freedreno/ir3/ir3_context.c
b/src/freedreno/ir3/ir3_context.c
index
bdcf816
..
f09fc92
100644
(file)
--- a/
src/freedreno/ir3/ir3_context.c
+++ b/
src/freedreno/ir3/ir3_context.c
@@
-96,12
+96,6
@@
ir3_context_init(struct ir3_compiler *compiler,
NIR_PASS_V(ctx->s, nir_opt_constant_folding);
}
- /* Enable the texture pre-fetch feature only a4xx onwards. But
- * only enable it on generations that have been tested:
- */
- if ((so->type == MESA_SHADER_FRAGMENT) && (compiler->gpu_id >= 600))
- NIR_PASS_V(ctx->s, ir3_nir_lower_tex_prefetch);
-
NIR_PASS_V(ctx->s, nir_convert_from_ssa, true);
if (shader_debug_enabled(so->type)) {