mesa/src
Ian Romanick 34f7e761bc glsl/parser: Track built-in types using the glsl_type directly
Without the lexer changes, tests/glslparsertest/glsl2/tex_rect-02.frag
fails.  Before this change, the parser would determine that
sampler2DRect is not a valid type because the call to
state->symbols->get_type() in ast_type_specifier::glsl_type() would
return NULL.  Since ast_type_specifier::glsl_type() is now going to
return the glsl_type pointer that it received from the lexer, it doesn't
have an opportunity to generate an error.

   text	   data	    bss	    dec	    hex	filename
8255243	 268856	 294072	8818171	 868dfb	32-bit i965_dri.so before
8255291	 268856	 294072	8818219	 868e2b	32-bit i965_dri.so after
7815195	 345592	 420592	8581379	 82f103	64-bit i965_dri.so before
7815339	 345592	 420592	8581523	 82f193	64-bit i965_dri.so after

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2017-10-30 09:27:09 -07:00
..
amd radv: Fix -Wformat-security issue 2017-10-30 10:58:56 +01:00
broadcom meson: Fix vc5 deps on the XML-generated headers. 2017-10-20 17:16:00 -07:00
compiler glsl/parser: Track built-in types using the glsl_type directly 2017-10-30 09:27:09 -07:00
egl wayland-egl: fix wayland cflags 2017-10-27 11:57:03 +01:00
gallium Android: move drivers' symlinks to /vendor (v2) 2017-10-30 15:41:31 +00:00
gbm meson: build libEGL 2017-10-20 16:46:48 -07:00
getopt
glx meson: rename all instances of xf86vm to xxf86vm 2017-10-27 11:06:07 -07:00
gtest meson: convert gtest to an internal dependency 2017-10-03 10:02:08 -07:00
hgl
intel i965: fix blorp stage_prog_data->param leak 2017-10-30 08:19:37 +02:00
loader loader: drop empty function alias 2017-10-26 16:25:33 +01:00
mapi scons: fix scons build to find generated glapitable.h 2017-10-27 16:26:26 -06:00
mesa i965: correctly assign SamplerCount of INTERFACE_DESCRIPTOR_DATA 2017-10-29 22:41:23 -07:00
util util: hashtable: make hashing prototypes match 2017-10-30 15:18:00 +00:00
vulkan vulkan: Update headers and registry to 1.0.64 2017-10-26 05:17:57 +10:00
git_sha1.h.in meson: Build i965 and dri stack 2017-10-09 13:42:44 -07:00
Makefile.am buildsys: move file regeneration logic to the script itself 2017-10-27 13:38:37 +01:00
meson.build meson: build classic osmesa 2017-10-27 11:06:45 -07:00
SConscript buildsys: move file regeneration logic to the script itself 2017-10-27 13:38:37 +01:00