mesa/src/compiler
Francisco Jerez 965934f38a glsl: Fix incorrect hard-coded location of the gl_SecondaryFragColorEXT built-in.
gl_SecondaryFragColorEXT should have the same location as gl_FragColor
for the secondary fragment color to be replicated to all fragment
outputs.  The incorrect location of gl_SecondaryFragColorEXT would
cause the linker to mark both FRAG_RESULT_COLOR and FRAG_RESULT_DATA0
as being written to, which isn't allowed by the spec and would
ultimately lead to an assertion failure in
fs_visitor::emit_fb_writes() on my i965-fb-fetch branch.

This should also fix the code below for multiple dual-source-blended
render targets, which no driver currently supports but we have plans
to enable eventually in the i965 driver (the comment saying that no
hardware will ever support it seems rather hilarious).

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
2016-08-30 16:54:19 -07:00
..
glsl glsl: Fix incorrect hard-coded location of the gl_SecondaryFragColorEXT built-in. 2016-08-30 16:54:19 -07:00
nir nir: Update shader info when adding discards 2016-08-29 10:56:59 -07:00
spirv spirv: replace assert with unreachable 2016-08-30 09:29:26 +10:00
.gitignore mesa: Add .gitignore entries for make check binaries 2016-05-25 09:41:44 -07:00
Android.glsl.gen.mk glsl: Make the generated sources build rules more like NIR 2016-08-17 13:48:25 +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 glsl/types: disallow implicit conversions before GLSL 1.20 2016-08-05 14:27:03 +03: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: Use the generated constant expression code 2016-08-30 16:28:03 -07:00
Makefile.nir.am nir: add the SConscript.nir to the tarball 2016-05-30 19:19:01 +01:00
Makefile.sources glsl: Use the generated constant expression code 2016-08-30 16:28:03 -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 glsl: Generate ir_expression_operation.h from Python 2016-08-30 16:28:00 -07:00
SConscript.glsl glsl: Use the generated constant expression code 2016-08-30 16:28:03 -07:00
SConscript.nir glsl: Generate ir_expression_operation.h from Python 2016-08-30 16:28:00 -07:00
shader_enums.c compiler: Rename INTERP_QUALIFIER_* to INTERP_MODE_*. 2016-07-17 19:26:48 -07:00
shader_enums.h glsl: process blend_support_* qualifiers 2016-08-25 19:22:09 -07:00