mesa/src/compiler
Dave Airlie 538975fdf8 glsl/lower_distance: only set max_array_access for 1D clip dist arrays
The max_array_access field applies to the first dimension, which means
we only want to set it for the 1D clip dist arrays.

This fixes an ir_validate assert seen with
KHR-GL44.cull_distance.functional
on nouveau and radeon with debug builds.

Fixes: a08c4ebbe (glsl: rewrite clip/cull distance lowering pass)
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Tested-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit 53587b7105)
2017-06-14 12:47:58 +01:00
..
glsl glsl/lower_distance: only set max_array_access for 1D clip dist arrays 2017-06-14 12:47:58 +01:00
nir nir/lower_tex: Fix minor error in YUV color conversion matrix 2017-05-19 23:23:21 +01:00
spirv spirv: consistently use ifndef guards over pragma once 2017-03-22 16:55:22 +00:00
.gitignore nir/spirv: Remove a duplicate spirv2nir from .gitignore 2016-10-04 07:43:15 -07:00
Android.glsl.gen.mk Android: clean-up trailing '\' in make variables 2017-03-22 17:52:06 +00:00
Android.glsl.mk android: glsl: build shader cache sources 2017-02-20 16:30:37 +00:00
Android.mk Android: glsl: add rules to generate ir_expression*.h header files 2016-09-06 15:58:55 +01:00
Android.nir.gen.mk compiler: android: flesh out nir into separate makefile 2016-04-11 19:08:23 +01:00
Android.nir.mk Android: clean-up trailing '\' in make variables 2017-03-22 17:52:06 +00:00
builtin_type_macros.h glsl: Add basic ARB_gpu_shader_int64 types 2017-01-20 15:41:23 -08:00
glsl_types.cpp glsl: allow glsl_type::sampler_index() with images 2017-03-30 13:15:16 +02:00
glsl_types.h compiler: consistently use ifndef guards over pragma once 2017-03-22 16:55:21 +00:00
Makefile.am compiler: avoid warning about redefinition of PYTHON_GEN 2016-10-26 14:54:26 +01:00
Makefile.glsl.am glsl: automake: export abs_builddir for the tests 2017-03-28 15:31:22 +01:00
Makefile.nir.am nir: automake: add the README to the tarball 2017-02-24 17:36:45 +00:00
Makefile.sources nir: Add a simple int64 lowering pass 2017-03-01 17:00:20 -08:00
nir_types.cpp nir/types: add C accessors for 64-bit integer types. 2017-02-16 14:10:45 +10:00
nir_types.h compiler: consistently use ifndef guards over pragma once 2017-03-22 16:55:21 +00:00
SConscript glsl: Generate ir_expression_operation.h from Python 2016-08-30 16:28:00 -07:00
SConscript.glsl mesa: Remove prog_hash_table.c 2016-09-12 10:48:35 +10:00
SConscript.nir glsl: Generate ir_expression_operation.h from Python 2016-08-30 16:28:00 -07:00
shader_enums.c glsl: add gl_SubGroup*ARB builtins 2017-04-05 15:25:56 +02:00
shader_enums.h glsl: add gl_SubGroup*ARB builtins 2017-04-05 15:25:56 +02:00
shader_info.h compiler: Merge shader_info's tcs and tes structs. 2017-01-10 13:21:21 -08:00