projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8911879
)
vc4: Drop redundant check for is_tmu_write().
author
Eric Anholt
<eric@anholt.net>
Sat, 25 Oct 2014 11:12:16 +0000
(12:12 +0100)
committer
Eric Anholt
<eric@anholt.net>
Wed, 29 Oct 2014 00:15:36 +0000
(17:15 -0700)
This function is only called when it would return true.
src/gallium/drivers/vc4/kernel/vc4_validate_shaders.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc4/kernel/vc4_validate_shaders.c
b/src/gallium/drivers/vc4/kernel/vc4_validate_shaders.c
index fdce0335e12213b8a5d93d8ac2d7349ff05eac08..03c7f23e92dcecd43464913a22b5e4ea7cdcb70c 100644
(file)
--- a/
src/gallium/drivers/vc4/kernel/vc4_validate_shaders.c
+++ b/
src/gallium/drivers/vc4/kernel/vc4_validate_shaders.c
@@
-94,9
+94,6
@@
check_tmu_write(struct vc4_validated_shader_info *validated_shader,
{
int tmu = waddr > QPU_W_TMU0_B;
- if (!is_tmu_write(waddr))
- return true;
-
if (validation_state->tmu_write_count[tmu] >= 4) {
DRM_ERROR("TMU%d got too many parameters before dispatch\n",
tmu);