projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d416b81
)
iris: clear fix
author
Kenneth Graunke
<kenneth@whitecape.org>
Mon, 25 Jun 2018 20:27:14 +0000
(13:27 -0700)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:07 +0000
(10:26 -0800)
src/gallium/drivers/iris/iris_clear.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/iris/iris_clear.c
b/src/gallium/drivers/iris/iris_clear.c
index 793777dbee3994c2fca5d526e9d00adcfded700c..08453789078613cb55d793cdd99d289f0dd8d3a2 100644
(file)
--- a/
src/gallium/drivers/iris/iris_clear.c
+++ b/
src/gallium/drivers/iris/iris_clear.c
@@
-68,8
+68,10
@@
iris_clear(struct pipe_context *ctx,
ISL_AUX_USAGE_NONE, true);
blorp_clear(&blorp_batch, &surf, isurf->view.format,
- ISL_SWIZZLE_IDENTITY, 0, 0, cso_fb->layers,
- 0, 0, cso_fb->width, cso_fb->height,
+ ISL_SWIZZLE_IDENTITY,
+ psurf->u.tex.level, psurf->u.tex.first_layer,
+ psurf->u.tex.last_layer - psurf->u.tex.first_layer + 1,
+ 0, 0, psurf->width, psurf->height,
*clear_color, color_write_disable);
}
}