iris commented on pull request iris/iris#11 2026-09-13 15:48:17 -04:00
Draw the glyph atlas as an array texture and images with their own bind groups

can these if lets be merged?

iris commented on pull request iris/iris#11 2026-09-13 15:48:17 -04:00
Draw the glyph atlas as an array texture and images with their own bind groups

the kind is supposed to be obtainable from the type. That's like half of the point of the trait

iris commented on pull request iris/iris#11 2026-09-13 15:48:17 -04:00
Draw the glyph atlas as an array texture and images with their own bind groups

you let old information get into this doc (GLES)

iris commented on pull request iris/iris#11 2026-09-13 15:48:17 -04:00
Draw the glyph atlas as an array texture and images with their own bind groups

don't think this comment is useful

iris commented on pull request iris/iris#11 2026-09-13 15:48:17 -04:00
Draw the glyph atlas as an array texture and images with their own bind groups

comments still too verbose. More importantly though, never put numbers like the group number in comments. That's an easy way for docs to become stale

iris suggested changes for iris/iris#11 2026-09-13 15:48:17 -04:00
Draw the glyph atlas as an array texture and images with their own bind groups

much better. Two main issues here are that the kind is supposed to come from the generic type, and still seems like there's a decent bit of texture specific code being applied to all pipelines. Masks do need to support being textures, however, so keep that in mind.

iris commented on pull request iris/iris#11 2026-09-13 15:48:17 -04:00
Draw the glyph atlas as an array texture and images with their own bind groups

need to make a named const for the 1 so it's clear what it is

iris commented on pull request iris/iris#11 2026-09-13 15:48:17 -04:00
Draw the glyph atlas as an array texture and images with their own bind groups

registration order is an implementation detail & shouldn't be relied on. Layers are the proper mechanism to put something on top of something else

iris commented on pull request iris/iris#11 2026-09-13 13:20:14 -04:00
Draw the glyph atlas as an array texture and images with their own bind groups

don't talk about old code unless you have a really good reason

iris commented on pull request iris/iris#11 2026-09-13 13:20:14 -04:00
Draw the glyph atlas as an array texture and images with their own bind groups

is this comment still accurate?

iris commented on pull request iris/iris#11 2026-09-13 13:20:14 -04:00
Draw the glyph atlas as an array texture and images with their own bind groups

don't need this comment, if you work with GPU upload it's obvious

iris suggested changes for iris/iris#11 2026-09-13 13:20:14 -04:00
Draw the glyph atlas as an array texture and images with their own bind groups

much better overall, but it seems like textures should be drawn separately from other primitives. Interleaving is not supported within the same layer because primitives get swapped when removed. Layers are how you layer things to properly support alpha and blur and such.

iris commented on pull request iris/iris#11 2026-09-13 13:20:14 -04:00
Draw the glyph atlas as an array texture and images with their own bind groups

isn't there a way to select regions?

iris commented on pull request iris/iris#11 2026-09-13 13:20:14 -04:00
Draw the glyph atlas as an array texture and images with their own bind groups

please make this a struct return type with named fields to avoid confusion

iris commented on pull request iris/iris#11 2026-09-13 12:27:50 -04:00
Draw the glyph atlas as an array texture and images with their own bind groups

can this directly be obtained from the texture array?

iris commented on pull request iris/iris#11 2026-09-13 12:27:50 -04:00
Draw the glyph atlas as an array texture and images with their own bind groups

same panic thing

iris suggested changes for iris/iris#11 2026-09-13 12:27:50 -04:00
Draw the glyph atlas as an array texture and images with their own bind groups
  • please set up a forced review mechanism before you submit that sanity checks & especially targets comments for cleanup to match the rest of the code
iris commented on pull request iris/iris#11 2026-09-13 12:27:50 -04:00
Draw the glyph atlas as an array texture and images with their own bind groups

what is this for

iris commented on pull request iris/iris#11 2026-09-13 12:27:50 -04:00
Draw the glyph atlas as an array texture and images with their own bind groups

should the size be verified here so it fails early?

iris commented on pull request iris/iris#11 2026-09-13 12:27:50 -04:00
Draw the glyph atlas as an array texture and images with their own bind groups

if these can panic then there's probably a better way to get these values at call site, eg. separate page handles & primitives from textures