diff options
author | Jason Ekstrand <[email protected]> | 2018-05-25 12:27:17 -0700 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2018-05-30 16:56:47 -0700 |
commit | 1dd9532d158121c3023a2ba53be9d3f290c4157b (patch) | |
tree | 7e7b0f3a83b5d08ee1f59c5da4c44397db9b1e0a /src/intel/blorp/blorp.h | |
parent | 36e65cc47fe7829fa1177cc7763190ef82493400 (diff) |
intel/blorp: Support blits and clears on surfaces with offsets
For certain EGLImage cases, we represent a single slice or LOD of an
image with a byte offset to a tile and X/Y intratile offsets to the
given slice. Most of i965 is fine with this but it breaks blorp. This
is a terrible way to represent slices of a surface in EGL and we should
stop some day but that's a very scary and thorny path. This gets blorp
to start working with those surfaces and fixes some dEQP EGL test bugs.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106629
Cc: [email protected]
Reviewed-by: Kenneth Graunke <[email protected]>
(cherry picked from commit ae514ca695a599cdd0b7c22f48fd4d721671b0cb)
Diffstat (limited to 'src/intel/blorp/blorp.h')
-rw-r--r-- | src/intel/blorp/blorp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intel/blorp/blorp.h b/src/intel/blorp/blorp.h index 4626f2f83c2..69c1b52c95a 100644 --- a/src/intel/blorp/blorp.h +++ b/src/intel/blorp/blorp.h @@ -109,6 +109,9 @@ struct blorp_surf * that it contains a swizzle of RGBA and resource min LOD of 0. */ struct blorp_address clear_color_addr; + + /* Only allowed for simple 2D non-MSAA surfaces */ + uint32_t tile_x_sa, tile_y_sa; }; void |