how to use compressed textures in Vulkan? Is it the same way as non-compressed textures with formats from one of compressed formats? If yes, when we copy data from memory to GPU, how do we calculate the size of image data? Lets say we have format as VK_FORMAT_ASTC_4x4_UNORM_BLOCK how do we get the size of data to be copied ?
Related Questions in TEXTURES
- LibGDX Normal Textures Not Showing Up in 3D (Blender) Model Java
- A way to warp an image based on a map
- Cracks in my automatic texture in Unreal engine 5
- Threejs .glb loading textures issue, texures not loaded
- Which format should be more smooth for complex R8 textures - BC4 or BC7?
- Unity render Texture is not as clear as the actual gameobject in the scene, how to make it clearer?
- Anyone else notcing delays of shared d3dtexture2D betweeen two processes?
- How to ensure the background texture joins up smoothly around sphere in Three.js?
- Update node's physicsbody with texture animation?
- Transfer GL_TEXTURE_2D Image to GL_TEXTURE_CUBE_MAP
- Converting Texture Atlas exported from Adobe Animate to Images
- WGPU: How to change max_bind_groups/device bind group limit?
- How to calculate Uvs from texture atlas?
- Downloaded model has no materials or textures
- Three.js Y Axis Offset for Equirectangular Image Not Working
Related Questions in IMAGE-COMPRESSION
- saving always adds artefacts to my images that photoshop doesn't
- cjepg not outputting .jpeg file in directory
- How to prevent artefacts in transparent images when generating thumbnails?
- Compress the Total size of PDF in google script
- Compressing a Picture in flutter returns null
- How do I generate a very large PNG or JPEG file?
- acceptable ranges for PSNR values in image quality
- How can I generate the most compact plain color image in base64 using node.js (server-side)?
- Flutter: Image compression to specific size
- How to retain TIFF compression while reconverting it back from JPEG?
- Wrong result after converting image from floating-point to unsigned in implementing JPEG
- Compressing image with python-opencv actually results more size
- Image compressor not importing in nextjs
- PNG Compression - ImageIO (on Mac OS using C/C++)
- Converting png and jpg images to webp format with parallel compression using the vite-plugin-image-optimizer plugin in the Vite builder
Related Questions in VULKAN
- How to generate vulkan project so it is cross-platform? (Using CMake)
- Vulkan specialization constants in WGSL
- Sync buffer between queue on Vulkan
- Using Silk.NET in WinForms
- Vulkan ‘VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR’ was not declared in this scope
- Members of struct lose value when created by factory method
- VK_ERROR_DEVICE_LOST on create acceleration structure and possible ways to debug it
- Disabling implicit Vulkan Validation Layer via environment variable
- How to VkCmdCopyBuffer without a Single Time Command Buffer
- Compiling vertex shader from vulkan tutorial with glslc gives error: linking multiple files in not supported yet
- Create info crushes the instancing
- panic: runtime error: cgo argument has Go pointer to unpinned Go pointer (in Go Vulkan While Creating a Swapchain)
- ExtensionNotFound Error while all extensions are supported in go-vulkan
- Vulkan: What exactly is the limit of 4 bound descriptor sets associated with in the hardware?
- Vulkan Validation Error from FFMPEG creating an image: VUID-VkImageCreateInfo-pNext-06811
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
For texel addressing the same way, except you should not cut into the block (i.e. should be in appropriate multiples in the given axis).
For byte addressing it is also quite obvious. The bit sizes are listed next to the formats in 32.3.1. Format Definition chapter.
E.g. image copy command uses texel addressing. For
VK_FORMAT_ASTC_4x4_UNORM_BLOCKit would be the same as for any uncompressed format except the width and height offset and size must be a multiple of 4.