On 4/19/19 15:30, Henri Verbeet wrote:
On Fri, 19 Apr 2019 at 16:38, Paul Gofman gofmanp@gmail.com wrote:
On 4/19/19 14:42, Henri Verbeet wrote:
That and "negative" values are the main issues I'd be potentially worried about, but at the same time I wouldn't expect drivers/hardware to go out of their way to distinguish between singned/unsigned here. We could also potentially switch between uvec4 and ivec4 based on whether we have GLSL 1.30 or not, but that may not offer any advantages in practice.
I will test this and change uints to ints whenever ARB_shader_bit_encoding is used then.