summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/slang_assemble.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-02-02 14:24:24 -0700
committerBrian <[email protected]>2007-02-02 14:24:24 -0700
commit1b24e2d5a7a7f97c179d7881a014f4aa025cacf7 (patch)
tree31c2438e52cbc059b9487f350450bbfa662a2355 /src/mesa/shader/slang/slang_assemble.c
parent5072fd3a641fa31cbfa7ecfbb34b2d8e782f9e06 (diff)
remove slang_export.c and related code
Diffstat (limited to 'src/mesa/shader/slang/slang_assemble.c')
-rw-r--r--src/mesa/shader/slang/slang_assemble.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/mesa/shader/slang/slang_assemble.c b/src/mesa/shader/slang/slang_assemble.c
index e3b65a12383..e65bf38ad51 100644
--- a/src/mesa/shader/slang/slang_assemble.c
+++ b/src/mesa/shader/slang/slang_assemble.c
@@ -33,9 +33,8 @@
#include "slang_compile.h"
#include "slang_storage.h"
#include "slang_error.h"
-
#include "slang_print.h"
-/*#include "assemble2.c"*/
+
/* slang_assembly */
@@ -481,11 +480,6 @@ dereference_basic(slang_assemble_ctx * A, slang_storage_type type,
case slang_stor_float:
ty = slang_asm_float_deref;
break;
-#if 0/*defined(USE_X86_ASM) || defined(SLANG_X86)*/
- case slang_stor_vec4:
- ty = slang_asm_vec4_deref;
- break;
-#endif
default:
_mesa_problem(NULL, "Unexpected arr->type in dereference_basic");
ty = slang_asm_none;
@@ -829,14 +823,6 @@ equality_aggregate(slang_assemble_ctx * A,
return GL_FALSE;
}
else {
-#if 0/*defined(USE_X86_ASM) || defined(SLANG_X86)*/
- if (arr->type == slang_stor_vec4) {
- if (!PLAB2(A->file, slang_asm_vec4_equal_int,
- size + *index, *index))
- return GL_FALSE;
- }
- else
-#endif
if (!PLAB2(A->file, slang_asm_float_equal_int,
size + *index, *index))
return GL_FALSE;