mesa/src/compiler
Tobias Klausmann ad355652c2 glsl: Extend lowering pass for gl_ClipDistance to support other arrays (v4)
This will come in handy when we want to lower gl_CullDistance into
gl_CullDistanceMESA.

[airlied: drop separate APIs for clip/cull - just use single API
to call both passes.]

v3: reexamine my sanity, this was pretty broken, the new code
creates one copy of gl_ClipDistanceMESA, as the clip distance
varying and lowers everything into that in two passes, one for clips
one for culls.
v4: rework using the passes in clip/cull sizes, instead of the
array sizes.

Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
2016-05-14 08:28:07 +10:00
..
glsl glsl: Extend lowering pass for gl_ClipDistance to support other arrays (v4) 2016-05-14 08:28:07 +10:00
nir nir: Remove empty visit_call_src and visit_load_const_src functions 2016-05-12 16:47:14 -07:00
spirv nir: glsl_get_bit_size() should take glsl_type 2016-05-12 13:39:40 -04:00
.gitignore
Android.glsl.gen.mk glsl: android: add back missing generated glcpp include path 2016-04-21 14:43:21 +01:00
Android.glsl.mk glsl: move the android build scripts a level up 2016-04-11 19:08:23 +01:00
Android.mk compiler: android: flesh out nir into separate makefile 2016-04-11 19:08:23 +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 compiler: android: flesh out nir into separate makefile 2016-04-11 19:08:23 +01:00
builtin_type_macros.h glsl/types: Add a bare "sampler" type 2016-02-13 17:22:36 -08:00
glsl_types.cpp glsl: Rename "vertex_input_slots" -> "is_vertex_input" 2016-04-13 11:00:21 -07:00
glsl_types.h glsl: Rename "vertex_input_slots" -> "is_vertex_input" 2016-04-13 11:00:21 -07:00
Makefile.am compiler: automake: flesh out NIR into separate makefile. 2016-04-11 19:08:23 +01:00
Makefile.glsl.am compiler: automake: split out glsl into separate makefile 2016-04-11 19:08:23 +01:00
Makefile.nir.am Merge remote-tracking branch 'public/master' into vulkan 2016-04-13 20:25:39 -07:00
Makefile.sources glsl: rename lower_clip_distance to lower_distance. 2016-05-14 08:27:40 +10:00
nir_types.cpp compiler: Add a C wrapper for glsl_type::without_array(). 2016-05-07 15:44:41 -07:00
nir_types.h nir: glsl_get_bit_size() should take glsl_type 2016-05-12 13:39:40 -04:00
SConscript scons: Build NIR. 2016-04-14 16:38:59 +01:00
SConscript.glsl glsl: move the scons build script a level up 2016-04-11 19:08:23 +01:00
SConscript.nir scons: Build NIR. 2016-04-14 16:38:59 +01:00
shader_enums.c glsl/shader_enums: Add the other two compute builtins 2016-04-11 13:53:00 -07:00
shader_enums.h glsl/shader_enums: Add the other two compute builtins 2016-04-11 13:53:00 -07:00