GlSampler always uses GL_NEAREST_MIPMAP_LINEAR or GL_LINEAR_MIPMAP_LINEAR as min filter, and input attachments are bound with sampler 0, i.e. with the texture's default filters (NEAREST_MIPMAP_LINEAR / LINEAR). So every read of a *_UINT / *_SINT texture (texelFetch, subpassLoad) returns (0,0,0,1) on OpenGL. It works on Vulkan.
Comments 0
No comments.