mesa/src/compiler
Eric Anholt 9128acfb57 nir: Allow opt_peephole_select to work on empty blocks.
nir_opt_peephole_select has the job of removing IF statements with no side
effects.  However, if the IF statement's successor didn't have any
instructions in it, we were skipping it, which occurred in mupen64 on vc4
with glsl_to_nir enabled:

instructions in affected programs:     6134 -> 4120 (-32.83%)
total uniforms in shared programs: 38268 -> 38219 (-0.13%)

No changes on Haswell shader-db.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2016-08-03 10:25:08 -07:00
..
glsl ast: Updated AST_NUM_OPERATORS for coherence with ast_operators 2016-08-02 21:33:03 +03:00
nir nir: Allow opt_peephole_select to work on empty blocks. 2016-08-03 10:25:08 -07:00
spirv spirv/nir: Add support for ImageQuerySamples 2016-07-22 16:48:54 -07:00
.gitignore mesa: Add .gitignore entries for make check binaries 2016-05-25 09:41:44 -07:00
Android.glsl.gen.mk glsl: android: add back missing generated glcpp include path 2016-04-21 14:43:21 +01:00
Android.glsl.mk android: libmesa_glsl: add a dependency on libmesa_nir static 2016-06-02 22:31:00 +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 MESA_shader_integer_functions: Allow implicit int->uint conversions 2016-07-19 12:19:28 -07:00
glsl_types.h glsl: Document and enforce restriction on type values 2016-07-05 17:55:29 -07:00
Makefile.am compiler: Move glsl_to_nir to libglsl.la 2016-05-26 14:13:38 -07:00
Makefile.glsl.am glsl: add warning-test 2016-05-26 09:19:17 +02:00
Makefile.nir.am nir: add the SConscript.nir to the tarball 2016-05-30 19:19:01 +01:00
Makefile.sources nir: Add a pass for propagating invariant decorations 2016-06-20 12:02:45 -07:00
nir_types.cpp nir: add glsl_dvec_type() helper 2016-07-06 23:20:23 -07:00
nir_types.h nir: add glsl_dvec_type() helper 2016-07-06 23:20:23 -07:00
SConscript scons: Build NIR. 2016-04-14 16:38:59 +01:00
SConscript.glsl glsl: reuse main extension table to appropriately restrict extensions 2016-07-23 13:48:04 -04:00
SConscript.nir scons: Build NIR. 2016-04-14 16:38:59 +01:00
shader_enums.c compiler: Rename INTERP_QUALIFIER_* to INTERP_MODE_*. 2016-07-17 19:26:48 -07:00
shader_enums.h compiler: Rename INTERP_QUALIFIER_* to INTERP_MODE_*. 2016-07-17 19:26:48 -07:00