Re: [Mesa-dev] [PATCH v2 11/31] glsl: fix std140/std430 interfaces for bindless samplers/images

2017-04-26 Thread Samuel Pitoiset
On 04/26/2017 12:19 PM, Samuel Pitoiset wrote: On 04/26/2017 04:44 AM, Timothy Arceri wrote: Can we just update is_scalar instead? That should work but only if vector_elements is 1 for samplers. With https://lists.freedesktop.org/archives/mesa-dev/2017-April/153166.html and with

Re: [Mesa-dev] [PATCH v2 11/31] glsl: fix std140/std430 interfaces for bindless samplers/images

2017-04-26 Thread Samuel Pitoiset
On 04/26/2017 04:44 AM, Timothy Arceri wrote: Can we just update is_scalar instead? That should work but only if vector_elements is 1 for samplers. On 24/04/17 20:35, Samuel Pitoiset wrote: The ARB_bindless_texture spec says: "Samplers are represented using 64-bit integer handles".

Re: [Mesa-dev] [PATCH v2 11/31] glsl: fix std140/std430 interfaces for bindless samplers/images

2017-04-26 Thread Nicolai Hähnle
On 26.04.2017 04:44, Timothy Arceri wrote: Can we just update is_scalar instead? It's probably worth a try. Cheers, Nicolai On 24/04/17 20:35, Samuel Pitoiset wrote: The ARB_bindless_texture spec says: "Samplers are represented using 64-bit integer handles". Signed-off-by: Samuel

Re: [Mesa-dev] [PATCH v2 11/31] glsl: fix std140/std430 interfaces for bindless samplers/images

2017-04-25 Thread Timothy Arceri
Can we just update is_scalar instead? On 24/04/17 20:35, Samuel Pitoiset wrote: The ARB_bindless_texture spec says: "Samplers are represented using 64-bit integer handles". Signed-off-by: Samuel Pitoiset --- src/compiler/glsl_types.cpp | 28

[Mesa-dev] [PATCH v2 11/31] glsl: fix std140/std430 interfaces for bindless samplers/images

2017-04-24 Thread Samuel Pitoiset
The ARB_bindless_texture spec says: "Samplers are represented using 64-bit integer handles". Signed-off-by: Samuel Pitoiset --- src/compiler/glsl_types.cpp | 28 1 file changed, 28 insertions(+) diff --git