diff options
author | Xu Randy <[email protected]> | 2017-03-20 15:31:35 +0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-03-27 07:43:17 -0700 |
commit | 004468de14170dc7a22322301829ad4f59188ee5 (patch) | |
tree | db1b98a5693ea140c0dd97e0d7939df26b596139 /src/intel/compiler | |
parent | 804676f384d4a12e3cfbccf21e48464c4ba58704 (diff) |
anv/blorp: Fix a crash in CmdClearColorImage
We should use anv_get_layerCount() to access layerCount of VkImageSub-
resourceRange in anv_CmdClearColorImage and anv_CmdClearDepthStencil-
Image, which handles the VK_REMAINING_ARRAY_LAYERS (~0) case.
Test: Sample multithreadcmdbuf from LunarG can run without crash
Signed-off-by: Xu Randy <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Cc: "13.0 17.0" <[email protected]>
Diffstat (limited to 'src/intel/compiler')
0 files changed, 0 insertions, 0 deletions