Quiet warnings about ir_shader not being handled in places it's not needed.

This commit is contained in:
Eric Anholt
2010-04-29 17:57:28 -07:00
parent 7f436a837c
commit 81f49a774e
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -21,6 +21,7 @@
* DEALINGS IN THE SOFTWARE.
*/
#include <stdio.h>
#include "glsl_parser_extras.h"
#include "glsl_symbol_table.h"
#include "ir.h"
@@ -315,5 +316,9 @@ _mesa_glsl_initialize_variables(exec_list *instructions,
case fragment_shader:
initialize_fs_variables(instructions, state);
break;
case ir_shader:
fprintf(stderr, "ir reader has no builtin variables");
exit(1);
break;
}
}