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 ?
Size of compressed textures in vulkan
1.2k Views Asked by debonair At
1
There are 1 best solutions below
Related Questions in TEXTURES
- Can linear filtering be used for an FBO blit of an MSAA texture to non-MSAA texture?
- Texture mapping consuming physical memory
- Quality not proper while rendering it via threejs r71
- SDL2_image rendering not working properly
- Cocos2D 2.x: Running CCWave action makes sprite disappear
- Creating a Texture2DArray and populate it with solid values
- Projecting a texture from plane to object with Unity
- Textured cube renders blank in DirectX
- Programmatically generate texture for WebGL in JavaScript
- Unable to render a texture on a quad
- OpenGl with C++ - Textures
- Random Line Appearing on Moving Texture Node
- Load multiple OBJ-files together with multple textures
- LibGDX "GwtApplication: exception: Couldn't load image 'a.jpg'
- Android OpenGL es 2.0 Can not reload textures on object.
Related Questions in IMAGE-COMPRESSION
- Effective JPEG compression for HF content?
- Bit-rate calculation in Jpeg2000 image compression
- Google Page Insight: mobile score 100 .. desktop 80 same images
- How to use 'compression_encode_buffer' in Swift?
- Size of compressed textures in vulkan
- Base64 image compression before sending it to Cloudinary
- compressing already compressed image in android open gl
- How to prevent memory increase on Image Compression
- Run-Length encoding image compression in Java
- Java Bitmap RLE8 format
- Java EOFException when using BMPImageReader after performing RLE compression on Byte Array
- The images are different even though they are saved to the same quality
- Compress movies of flat plots of few points and lines in Matlab (why are they so heavy?)
- Compress image using Huffman coding in Java
- Compressing png images using PHP
Related Questions in VULKAN
- Vulkan renders only one out of two meshes
- Ubuntu, g++, and Vulkan lib
- Vulkan Limitations / GPU Needed vs opengl
- Size of compressed textures in vulkan
- Greyscale texture format in vulkan
- Unexpected crashes in Vulkan geometry shader
- Wat does the "vkCreateSwapchainKHR:internal drawable creation failed." means
- Are extensions in Vulkan allowed to add new functionality?
- Dynamically uniform expressions with nested for loops in GLSL
- vkAcquireNextImageKHR: Application has already acquired the maximum number of images
- Can I install a Vulkan driver on my 3rd gen Intel Ivy Bridge integrated GPU on Ubuntu 16.04?
- Modifying a HLSL shader to work in Vulkan, do I have to separate textures/samplers?
- Descriptor Set and automatic layout transition
- Vulkan - instance creation fails when loading extensions
- Vulkan - Uniform Buffers Not Sent To Shader
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)
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?
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.