summaryrefslogtreecommitdiff
path: root/glsl_types.cpp
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-03-23 12:11:50 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-03-23 12:11:50 -0700
commit7563b50075975a3a6b32de64ecb240398d421a55 (patch)
treee08cd741631c170ece1a85302b07ad9cf3c8b461 /glsl_types.cpp
parent693bb11b5f817b6a299f03acaf50fc3264c853d0 (diff)
Add `void' type to table of available types
This will make void-01.glsl test fail, so I may regret this later. However, this will make supporting functions that return void or functions that have a void parameter list easier to handle.
Diffstat (limited to 'glsl_types.cpp')
-rw-r--r--glsl_types.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/glsl_types.cpp b/glsl_types.cpp
index 5a087216ea..af6a40800b 100644
--- a/glsl_types.cpp
+++ b/glsl_types.cpp
@@ -50,6 +50,7 @@ generate_110_types(glsl_symbol_table *symtab)
Elements(builtin_structure_types));
add_types_to_symbol_table(symtab, builtin_110_deprecated_structure_types,
Elements(builtin_110_deprecated_structure_types));
+ add_types_to_symbol_table(symtab, & void_type, 1);
}