projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca735c5
)
iris: just turn batch reset_and_clear_caches into reset
author
Kenneth Graunke
<kenneth@whitecape.org>
Wed, 2 May 2018 21:28:27 +0000
(14:28 -0700)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:06 +0000
(10:26 -0800)
src/gallium/drivers/iris/iris_batch.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/iris/iris_batch.c
b/src/gallium/drivers/iris/iris_batch.c
index 8ea7cf761bf94ed556727713a137d1a3f06bde18..12aea86e9e47d24adbffad5c0dec75582059cb88 100644
(file)
--- a/
src/gallium/drivers/iris/iris_batch.c
+++ b/
src/gallium/drivers/iris/iris_batch.c
@@
-226,12
+226,7
@@
iris_batch_reset(struct iris_batch *batch)
if (batch->state_sizes)
_mesa_hash_table_clear(batch->state_sizes, NULL);
-}
-static void
-iris_batch_reset_and_clear_caches(struct iris_batch *batch)
-{
- iris_batch_reset(batch);
iris_cache_sets_clear(batch);
}
@@
-456,7
+451,7
@@
_iris_batch_flush_fence(struct iris_batch *batch,
batch->aperture_space = 0;
/* Start a new batch buffer. */
- iris_batch_reset
_and_clear_caches
(batch);
+ iris_batch_reset(batch);
return 0;
}