The function emit_sampler_decl() considers that GLES does not have 1D textures, but it ignores the fact that we can have a range passed into the function. This workaround predates the correct fix in vrend_shader_samplertypeconv() which returns a "2D" literal as needed. Drop this partial workaround. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>macos/master
parent
4e764b66fa
commit
de2bbb7fc0
Loading…
Reference in new issue