summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_variable.cpp
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2010-10-20 14:59:40 -0700
committerKenneth Graunke <[email protected]>2010-10-20 15:07:47 -0700
commita75da2c0e85eb6b8279ec895c3f74cc4aefc0257 (patch)
treefecfb3d71bc2b31d24712c527b78c3453a6db326 /src/glsl/ir_variable.cpp
parent460da0db4add19b79050b816e3bef086293ab630 (diff)
glsl: Remove useless ir_shader enumeration value.
Diffstat (limited to 'src/glsl/ir_variable.cpp')
-rw-r--r--src/glsl/ir_variable.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/glsl/ir_variable.cpp b/src/glsl/ir_variable.cpp
index f2c900f718f..6b9b29458d0 100644
--- a/src/glsl/ir_variable.cpp
+++ b/src/glsl/ir_variable.cpp
@@ -504,9 +504,5 @@ _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;
}
}