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:
8fbcabc
)
vc4: Clarify size calculation for Z/S writes.
author
Eric Anholt
<eric@anholt.net>
Mon, 22 Jun 2015 18:45:27 +0000
(11:45 -0700)
committer
Eric Anholt
<eric@anholt.net>
Wed, 24 Jun 2015 01:40:50 +0000
(18:40 -0700)
It's the same value for loads and stores, because they're basically the
same packet.
src/gallium/drivers/vc4/kernel/vc4_render_cl.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc4/kernel/vc4_render_cl.c
b/src/gallium/drivers/vc4/kernel/vc4_render_cl.c
index
deb2ccf
..
f55ffe5
100644
(file)
--- a/
src/gallium/drivers/vc4/kernel/vc4_render_cl.c
+++ b/
src/gallium/drivers/vc4/kernel/vc4_render_cl.c
@@
-208,7
+208,7
@@
static int vc4_create_rcl_bo(struct drm_device *dev, struct vc4_exec_info *exec,
}
if (setup->zs_write)
- loop_body_size += VC4_PACKET_
LOAD
_TILE_BUFFER_GENERAL_SIZE;
+ loop_body_size += VC4_PACKET_
STORE
_TILE_BUFFER_GENERAL_SIZE;
if (setup->color_ms_write) {
if (setup->zs_write)
loop_body_size += VC4_PACKET_TILE_COORDINATES_SIZE;