From: Paul Gofman Subject: Re: [PATCH] wined3d: Check GLSL version when using ARB_shader_bit_encoding with uvec4. Message-Id: Date: Fri, 19 Apr 2019 15:35:57 +0300 In-Reply-To: References: <20190418170649.27930-1-gofmanp@gmail.com> <21120c18-061e-d959-16cf-df27fe6d2abb@gmail.com> On 4/19/19 15:30, Henri Verbeet wrote: > On Fri, 19 Apr 2019 at 16:38, Paul Gofman 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.