[GPU] Track unaligned (visible) block width in texture info.
[Vulkan] Don't use power of two for mip width/height calculation for host textures. [Vulkan] Add more Vulkan error logging. [Vulkan/GPU] Rudimentary texture dumping.
This commit is contained in:
@@ -293,7 +293,8 @@ struct TextureInfo;
|
||||
struct TextureExtent {
|
||||
uint32_t pitch; // texel pitch
|
||||
uint32_t height; // texel height
|
||||
uint32_t block_height; // # of vertical blocks
|
||||
uint32_t block_width; // # of horizontal visible blocks
|
||||
uint32_t block_height; // # of vertical visible blocks
|
||||
uint32_t block_pitch_h; // # of horizontal pitch blocks
|
||||
uint32_t block_pitch_v; // # of vertical pitch blocks
|
||||
uint32_t depth;
|
||||
|
||||
Reference in New Issue
Block a user