Commit 9584fe43 by Chris Forbes

Disable creation of multisample images until they work

Change-Id: I39608947651b855c6e2668de98ab5696e18f501f Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/26310Tested-by: 's avatarChris Forbes <chrisforbes@google.com> Kokoro-Presubmit: kokoro <noreply+kokoro@google.com> Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>
parent 4c84dbdc
...@@ -33,6 +33,11 @@ Image::Image(const VkImageCreateInfo* pCreateInfo, void* mem) : ...@@ -33,6 +33,11 @@ Image::Image(const VkImageCreateInfo* pCreateInfo, void* mem) :
tiling(pCreateInfo->tiling) tiling(pCreateInfo->tiling)
{ {
blitter = new sw::Blitter(); blitter = new sw::Blitter();
if (samples != VK_SAMPLE_COUNT_1_BIT)
{
UNIMPLEMENTED("Multisample images not yet supported");
}
} }
void Image::destroy(const VkAllocationCallbacks* pAllocator) void Image::destroy(const VkAllocationCallbacks* pAllocator)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment