Vulkan: Compile compute shaders only if enabled.

This commit is contained in:
Unknown W. Brackets committed 2019-09-30 00:39:00 -07:00
1 parent 41a6831333
commit be5d93d5f1
2 files changed
+14 -9

No files matched your search

-1
View File
@@ -224,7 +224,6 @@ void VulkanTexture::Touch() {
}
VkImageView VulkanTexture::CreateViewForMip(int mip) {
// Create the view while we're at it.
VkImageViewCreateInfo view_info = { VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO };
view_info.image = image_;
view_info.viewType = VK_IMAGE_VIEW_TYPE_2D;