Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix handling of combined depth-stencil textures #575

Merged
merged 3 commits into from
May 22, 2022

Conversation

MarkCallow
Copy link
Collaborator

@MarkCallow MarkCallow commented May 19, 2022

Fix required alignment calculations in accordance with the spec. change in
KhronosGroup/KTX-Specification#180.

Remove creation of DFDs for these from dfdutils' vk2dfd as the layouts
defined there are never seen outside Vulkan. Create their dfds, with the
texel block sizes specified by KTX, within the KTX library and tools.

Fix createDFDDepthStencil to set the primaries to UNSPECIFIED for depth, stencil
and depth-stencil formats.

Make vk2dfd.inl visible in project.

@MarkCallow MarkCallow changed the title Fix level alignment calc to match KTX spec update. Fix handling of combined depth-stencil textures May 21, 2022
in KhronosGroup/KTX-Specification#180.

Fix DFD texel block sizes for D16_UNORM_S8_UINT and D32_SFLOAT_S8_UINT.
Remove creation of DFDs for these from dfdutils' vk2dfd as the layouts
defined there are never seen outside Vulkan. Create dfds for the
KTX-defined within KTX library and tools.

Fix createDFDDEpthStencil to give set primaries to UNSPECIFIED.
@MarkCallow MarkCallow force-pushed the fix_alignment_calc branch from c5ebb34 to 15cb2a8 Compare May 22, 2022 01:36
@MarkCallow MarkCallow merged commit e4bf1aa into master May 22, 2022
@MarkCallow MarkCallow deleted the fix_alignment_calc branch May 22, 2022 09:28
KaperD pushed a commit to KaperD/KTX-Software that referenced this pull request Feb 21, 2024
Fix required alignment calculations in accordance with the spec. change in
KhronosGroup/KTX-Specification#180.

Remove creation of DFDs for these from dfdutils' vk2dfd as the layouts
defined there are never seen outside Vulkan. Create their dfds, with the
texel block sizes specified by KTX, within the KTX library and tools.

Fix createDFDDepthStencil to set the primaries to UNSPECIFIED for depth, stencil
and depth-stencil formats.

Make vk2dfd.inl visible in project.
KaperD pushed a commit to KaperD/KTX-Software that referenced this pull request Feb 22, 2024
Fix required alignment calculations in accordance with the spec. change in
KhronosGroup/KTX-Specification#180.

Remove creation of DFDs for these from dfdutils' vk2dfd as the layouts
defined there are never seen outside Vulkan. Create their dfds, with the
texel block sizes specified by KTX, within the KTX library and tools.

Fix createDFDDepthStencil to set the primaries to UNSPECIFIED for depth, stencil
and depth-stencil formats.

Make vk2dfd.inl visible in project.
KaperD pushed a commit to KaperD/KTX-Software that referenced this pull request Feb 22, 2024
Fix required alignment calculations in accordance with the spec. change in
KhronosGroup/KTX-Specification#180.

Remove creation of DFDs for these from dfdutils' vk2dfd as the layouts
defined there are never seen outside Vulkan. Create their dfds, with the
texel block sizes specified by KTX, within the KTX library and tools.

Fix createDFDDepthStencil to set the primaries to UNSPECIFIED for depth, stencil
and depth-stencil formats.

Make vk2dfd.inl visible in project.
KaperD pushed a commit to KaperD/KTX-Software that referenced this pull request Feb 22, 2024
Fix required alignment calculations in accordance with the spec. change in
KhronosGroup/KTX-Specification#180.

Remove creation of DFDs for these from dfdutils' vk2dfd as the layouts
defined there are never seen outside Vulkan. Create their dfds, with the
texel block sizes specified by KTX, within the KTX library and tools.

Fix createDFDDepthStencil to set the primaries to UNSPECIFIED for depth, stencil
and depth-stencil formats.

Make vk2dfd.inl visible in project.
KaperD pushed a commit to KaperD/KTX-Software that referenced this pull request Feb 22, 2024
Fix required alignment calculations in accordance with the spec. change in
KhronosGroup/KTX-Specification#180.

Remove creation of DFDs for these from dfdutils' vk2dfd as the layouts
defined there are never seen outside Vulkan. Create their dfds, with the
texel block sizes specified by KTX, within the KTX library and tools.

Fix createDFDDepthStencil to set the primaries to UNSPECIFIED for depth, stencil
and depth-stencil formats.

Make vk2dfd.inl visible in project.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant