projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fc9c7e
)
intel/blorp: Don't assume R8_UINT in convert_to_single_slice
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Sun, 28 Aug 2016 05:06:11 +0000
(22:06 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Tue, 13 Sep 2016 02:42:57 +0000
(19:42 -0700)
We're going to use it for more than just stencil textures
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/intel/blorp/blorp_blit.c
patch
|
blob
|
history
diff --git
a/src/intel/blorp/blorp_blit.c
b/src/intel/blorp/blorp_blit.c
index
c6fba66
..
c6285d4
100644
(file)
--- a/
src/intel/blorp/blorp_blit.c
+++ b/
src/intel/blorp/blorp_blit.c
@@
-1276,7
+1276,7
@@
surf_convert_to_single_slice(const struct isl_device *isl_dev,
struct isl_surf_init_info init_info = { 0, };
init_info.dim = ISL_SURF_DIM_2D;
- init_info.format =
ISL_FORMAT_R8_UINT
;
+ init_info.format =
info->surf.format
;
init_info.width =
minify(info->surf.logical_level0_px.width, info->view.base_level);
init_info.height =