Update TextureRef (or similar approach) to refer to a sub-allocation from a Texture that was created with max allowed size. Callers must compute texture coords through TextureRef which will renormalize them to the range in the atlas.
Utilize the sub-alloc feature on systems with low sampler counts, and prefer dedicated textures for systems with sufficiently large sampler limits. Compile shaders using max sampler count as a parameter for the texture pool descriptor.
Motivation: Providing bindless textures on systems (macos) with low sampler limits.
Update
TextureRef
(or similar approach) to refer to a sub-allocation from a Texture that was created with max allowed size. Callers must compute texture coords through TextureRef which will renormalize them to the range in the atlas.Utilize the sub-alloc feature on systems with low sampler counts, and prefer dedicated textures for systems with sufficiently large sampler limits. Compile shaders using max sampler count as a parameter for the texture pool descriptor.
Motivation: Providing bindless textures on systems (macos) with low sampler limits.