glsl: pass symbols rather than shader to _mesa_get_main_function_signature()
authorTimothy Arceri <timothy.arceri@collabora.com>
Mon, 27 Jun 2016 06:25:00 +0000 (16:25 +1000)
committerTimothy Arceri <timothy.arceri@collabora.com>
Thu, 30 Jun 2016 06:51:25 +0000 (16:51 +1000)
commit47f83817303e0f24f2d410450f897945a5746ef2
treee8dd06b8d0574f5c8851d470dab44929a69607f1
parent9e9d01cbe802df386586db3fde1a531151b6d66a
glsl: pass symbols rather than shader to _mesa_get_main_function_signature()

This will allow us to split gl_shader into two different structs, one for
shader objects and one for linked shaders.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/compiler/glsl/builtin_functions.cpp
src/compiler/glsl/builtin_variables.cpp
src/compiler/glsl/ir.h
src/compiler/glsl/linker.cpp
src/compiler/glsl/lower_vertex_id.cpp