Skip to content

Conversation

@Jimbly
Copy link

@Jimbly Jimbly commented Oct 18, 2024

@CLAassistant
Copy link

CLAassistant commented Oct 18, 2024

CLA assistant check
All committers have signed the CLA.

@Jimbly
Copy link
Author

Jimbly commented Oct 18, 2024

Notes:

  • (expected) Currently fails on Chrome on all platforms when uploading mipmaps of larger (128x128) 3D textures (see linked bug)
  • (unsure) The R[GBA]_INTEGER/UNSIGNED_BYTE for TEXTURE_3D (not TEXTURE_2D_ARRAY) tests fail for me (on any browser), where it seems the sampling is wrapping around, or something similar - not sure if this is indicating I have something wrong with my tests, or if this is a GPU or implementation bug

if (useMinMax) {
// Note: this seems like it should work, but fails on uint textures,
// bug in test / test author, or bug in implementations?
gl.texParameterf(bindingTarget, gl.TEXTURE_MIN_LOD, lod);
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using TEXTURE_MIN/MAX_LOD here works in all tests except for the unsigned integer formats (where it appears to sample from the wrong level). I'm not sure if that means there's something I don't understand, or if I've stumbled upon a bug. I'd be happy to change this code to also test the alternative way to choose which lod levels are sampled from, or to remove this (currently unreachable) branch if desired.

@Jimbly
Copy link
Author

Jimbly commented Aug 13, 2025

Anything required to get this merged or anything I can do to help move the process along?

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.

2 participants