bors[bot] on master
[metal] immutable sampler suppo… [metal] fix resetting the attac… Update Naga to gfx-21 and 1 more (compare)
bors[bot] on staging.tmp
bors[bot] on staging
[metal] immutable sampler suppo… [metal] fix resetting the attac… Update Naga to gfx-21 and 1 more (compare)
bors[bot] on staging.tmp
[metal] immutable sampler suppo… [metal] fix resetting the attac… Update Naga to gfx-21 and 1 more (compare)
bors[bot] on staging.tmp
[ci skip][skip ci][skip netlify] (compare)
storage+2-gl::FLOAT_VEC2
do?
@csherratt sure, we can match the input-outputs and store just indices, but this caching spawns more questions than it solves
That's half-truth. In fact, we don't want (of course) to match these strings at runtime, even if the comparison cost is low, because we'd still need to walk those mesh attributes for each shader attribute. instead, we just need to have that target index baked in somewhere. Perhaps, a single HashMap<(ProgramHandle,MeshHandle), IndexSequence>
will suffice.