Skip to content

Commit

Permalink
Disable creation of multisample images until they work
Browse files Browse the repository at this point in the history
Change-Id: I39608947651b855c6e2668de98ab5696e18f501f
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/26310
Tested-by: Chris Forbes <chrisforbes@google.com>
Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
  • Loading branch information
chrisforbes committed Mar 6, 2019
1 parent 4c84dbd commit 9584fe4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Vulkan/VkImage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ Image::Image(const VkImageCreateInfo* pCreateInfo, void* mem) :
tiling(pCreateInfo->tiling)
{
blitter = new sw::Blitter();

if (samples != VK_SAMPLE_COUNT_1_BIT)
{
UNIMPLEMENTED("Multisample images not yet supported");
}
}

void Image::destroy(const VkAllocationCallbacks* pAllocator)
Expand Down

0 comments on commit 9584fe4

Please sign in to comment.