[Mesa-dev] [PATCH v2 45/52] nir: Make ballot intrinsics variable-size

2017-10-12 Thread Jason Ekstrand
This way they can return either a uvec4 or a uint64_t. At the moment, this is a no-op since we still always return a uint64_t. --- src/compiler/glsl/glsl_to_nir.cpp | 1 + src/compiler/nir/nir_intrinsics.h | 12 ++-- src/compiler/nir/nir_lower_system_values.c | 1 + 3

Re: [Mesa-dev] [PATCH v2 45/52] nir: Make ballot intrinsics variable-size

2017-10-13 Thread Lionel Landwerlin
Reviewed-by: Lionel Landwerlin On 13/10/17 06:48, Jason Ekstrand wrote: This way they can return either a uvec4 or a uint64_t. At the moment, this is a no-op since we still always return a uint64_t. --- src/compiler/glsl/glsl_to_nir.cpp | 1 + src/compiler/nir/nir_intrinsics.h