diff options
author | Józef Kucia <[email protected]> | 2017-10-02 19:58:50 +0200 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2017-10-03 00:42:50 +0100 |
commit | 15fdbf9c39105aaaae05c59a1a315b1775ac5d79 (patch) | |
tree | 1a6904f03d860bd5da4b80d8b33e9666d3cd80ae /src/intel | |
parent | 2d62817da9ddbcfb8d353ca96cc6ae36da3862e0 (diff) |
anv: Fix vkCmdFillBuffer()
The vkCmdFillBuffer() command fills a buffer with an uint32_t value.
Reviewed-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Cc: "17.1 17.2" <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r-- | src/intel/vulkan/anv_blorp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/vulkan/anv_blorp.c b/src/intel/vulkan/anv_blorp.c index 8d0c2752485..a8ebdb384c3 100644 --- a/src/intel/vulkan/anv_blorp.c +++ b/src/intel/vulkan/anv_blorp.c @@ -533,8 +533,8 @@ isl_format_for_size(unsigned size_B) switch (size_B) { case 1: return ISL_FORMAT_R8_UINT; case 2: return ISL_FORMAT_R8G8_UINT; - case 4: return ISL_FORMAT_R8G8B8A8_UINT; - case 8: return ISL_FORMAT_R16G16B16A16_UINT; + case 4: return ISL_FORMAT_R32_UINT; + case 8: return ISL_FORMAT_R32G32_UINT; case 16: return ISL_FORMAT_R32G32B32A32_UINT; default: unreachable("Not a power-of-two format size"); |