Vulkan: Compile compute shaders only if enabled.

This commit is contained in:
Unknown W. Brackets
2019-09-30 00:39:00 -07:00
parent 41a6831333
commit be5d93d5f1
2 changed files with 14 additions and 9 deletions
-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;