KhronosGroup / KhronosGroup/KTX-Software

No depth and stencil format support

Open
#577 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.4k
Forks
317
Avg merge
20h 12m
Merged PRs (30d)
3

Description

libktx needs to support depth and stencil formats. Currently

- `vkloader.c` and `glloader.c` would not load these formats correctly.
- `texture2.c` would allow some incorrect settings for these formats, e.g. sRGB.
- `toktx.c` makes no attempt to set things correctly when creating payloads with these formats.
- `ktx2check` does not account for the differences between these and color formats.

Contributor guide

Open the contributing guide

Research direction

Start by inspecting vkloader.c, glloader.c, texture2.c, toktx.c, and ktx2check to trace how depth and stencil formats are currently handled. Done means these components load, create, and validate depth and stencil payloads without applying color-format settings such as sRGB.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
computer-graphics
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.