diff --git a/ReleaseNotes.md b/ReleaseNotes.md index b74f6fca5..7944cdabb 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -17,7 +17,8 @@ Current Support * On replay you can step into each vkQueueSubmit call to see the command buffers submitted, and step into them to browse through the commands. * The pipeline state will be displayed at each command, roughly showing the data contained in each member of the pipeline createinfo struct, as well as dynamic state. * Simple disassembly/reflection of SPIR-V to determine which descriptors to read for read-only resources and uniform buffers. The uniform buffers will be listed separately and the member variables filled out. -* Simple display of most 2D textures in the texture viewer. +* Simple display of most 2D textures with mips in the texture viewer. +* Threading should be pretty efficient - no heavy locks on common paths (outside of creation/deletion) Known Issues ======== @@ -39,7 +40,7 @@ On capture: On replay: -* Only 2D non-array non-integer textures can currently be displayed, and only the first mip. +* Only 2D non-array non-integer textures can currently be displayed. * Pixel values aren't fetched. * Auto texture range-fit or histogram display is not implemented. * Debug overlays aren't implemented. diff --git a/renderdoc/driver/vulkan/vk_debug.cpp b/renderdoc/driver/vulkan/vk_debug.cpp index f349dba9e..17b1d0e0f 100644 --- a/renderdoc/driver/vulkan/vk_debug.cpp +++ b/renderdoc/driver/vulkan/vk_debug.cpp @@ -214,7 +214,7 @@ VulkanDebugManager::VulkanDebugManager(WrappedVulkan *driver, VkDevice dev) 0.0f, // lod bias 1.0f, // max aniso false, VK_COMPARE_OP_NEVER, - 0.0f, 0.0f, // min/max lod + 0.0f, 128.0f, // min/max lod VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE, false, // unnormalized }; diff --git a/renderdoc/driver/vulkan/vk_replay.cpp b/renderdoc/driver/vulkan/vk_replay.cpp index 0380d7ca9..a13d8a750 100644 --- a/renderdoc/driver/vulkan/vk_replay.cpp +++ b/renderdoc/driver/vulkan/vk_replay.cpp @@ -658,7 +658,7 @@ bool VulkanReplay::RenderTexture(TextureDisplay cfg) Unwrap(liveIm), VK_IMAGE_VIEW_TYPE_2D, iminfo.format, { VK_CHANNEL_SWIZZLE_R, VK_CHANNEL_SWIZZLE_G, VK_CHANNEL_SWIZZLE_B, VK_CHANNEL_SWIZZLE_A }, - { VK_IMAGE_ASPECT_COLOR, 0, 1, 0, 1, }, + { VK_IMAGE_ASPECT_COLOR, 0, RDCMAX(1, iminfo.mipLevels), 0, 1, }, 0 };