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

ETC2 pixel format cleanup #1044

Merged
merged 2 commits into from
May 10, 2024
Merged

ETC2 pixel format cleanup #1044

merged 2 commits into from
May 10, 2024

Conversation

floooh
Copy link
Owner

@floooh floooh commented May 10, 2024

  • rename SG_PIXELFORMAT_ETC2_RG11 to SG_PIXELFORMAT_EAC_RG11
  • rename SG_PIXELFORMAT_ETC2_RG11SN to SG_PIXELFORMAT_EAC_RG11SN
  • add SG_PIXELFORMAT_EAC_R11 and SG_PIXELFORMAT_EAC_R11SN
  • fixed a related pixel format mismatch in the WebGPU backend (RG11 sokol-gfx formats were mapped to R11 WebGPU formats)

Also see #1041

- renamed SG_PIXELFORMAT_ETC2_RG11[SN] to SG_PIXELFORMAT_EAC_RG11[SN]
- new formats SG_PIXELFORMAT_EAC_R11[SN]
@floooh floooh merged commit 6733919 into master May 10, 2024
44 checks passed
@floooh floooh deleted the sokol-gfx-etc2-cleanup branch May 10, 2024 15:46
@floooh floooh mentioned this pull request May 10, 2024
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