diff options
author | Jason Ekstrand <[email protected]> | 2017-07-21 17:14:52 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-07-22 08:20:07 -0700 |
commit | cf39fb06e34019c382af86160b1732e6de702358 (patch) | |
tree | 6fd4a1d807716707c8cf5bd00c840d139de24af3 /src/intel/vulkan/anv_blorp.c | |
parent | fd199fe4a8799255d11d765d5b1387735c973388 (diff) |
anv/blorp: Explicitly set row_pitch in do_buffer_copy
We have a very specific row pitch that we want and we don't want ISL to
be changing it on us so just be explicit about it.
Fixes: a40f0430347c07bf2d5794642fe02f5dd248a473
Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_blorp.c')
-rw-r--r-- | src/intel/vulkan/anv_blorp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_blorp.c b/src/intel/vulkan/anv_blorp.c index 459d57ec575..14928029d33 100644 --- a/src/intel/vulkan/anv_blorp.c +++ b/src/intel/vulkan/anv_blorp.c @@ -564,10 +564,10 @@ do_buffer_copy(struct blorp_batch *batch, .levels = 1, .array_len = 1, .samples = 1, + .row_pitch = width * block_size, .usage = ISL_SURF_USAGE_TEXTURE_BIT | ISL_SURF_USAGE_RENDER_TARGET_BIT, .tiling_flags = ISL_TILING_LINEAR_BIT); - assert(surf.row_pitch == width * block_size); struct blorp_surf src_blorp_surf = { .surf = &surf, |