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

Missing ETC_R11 format #1041

Closed
julhe opened this issue May 7, 2024 · 2 comments
Closed

Missing ETC_R11 format #1041

julhe opened this issue May 7, 2024 · 2 comments
Assignees

Comments

@julhe
Copy link

julhe commented May 7, 2024

I tried to find the single-channel format from the ETC family, but only found the two-channel variant (SG_PIXELFORMAT_ETC2_RG11). For the BC family, there is BC4, so I guess it would make sense to have ETC2_R11 as well.

@floooh
Copy link
Owner

floooh commented May 7, 2024

Hmm yeah, strange that I overlooked that since the two-channel variants are there...

Technically those should probably be changed to SG_PIXELFORMAT_EAC_* though, see the WebGPU extension (https://www.w3.org/TR/webgpu/#texture-compression-etc2).

@floooh floooh self-assigned this May 7, 2024
@floooh
Copy link
Owner

floooh commented May 10, 2024

Ok fixed in #1044

I actually also found a bug in the WebGPU backend where the RG11 formats were mapped to the wrong WebGPU texture formats.

@floooh floooh closed this as completed May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants