summaryrefslogtreecommitdiff
path: root/src/mesa/shader
diff options
context:
space:
mode:
authorMichal Krol <mjkrol@gmail.org>2005-05-25 14:19:24 +0000
committerMichal Krol <mjkrol@gmail.org>2005-05-25 14:19:24 +0000
commit1de60fe47f83b4397601b258c8587046085bca51 (patch)
tree4d6b6f4c685e99a2cc3c341107abc6527eb9bc81 /src/mesa/shader
parentc16264b13857abc9ede2c4c795a8555298c1a153 (diff)
ncrease stack size
Diffstat (limited to 'src/mesa/shader')
-rw-r--r--src/mesa/shader/slang/slang_assemble_conditional.h1
-rw-r--r--src/mesa/shader/slang/slang_execute.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_assemble_conditional.h b/src/mesa/shader/slang/slang_assemble_conditional.h
index 9ae2c62a21..f52b4129d3 100644
--- a/src/mesa/shader/slang/slang_assemble_conditional.h
+++ b/src/mesa/shader/slang/slang_assemble_conditional.h
@@ -58,6 +58,7 @@ int _slang_assemble_while (slang_assembly_file *file, slang_operation *op,
int _slang_assemble_if (slang_assembly_file *file, slang_operation *op,
slang_assembly_flow_control *flow, slang_assembly_name_space *space,
slang_assembly_local_info *info);
+
#ifdef __cplusplus
}
#endif
diff --git a/src/mesa/shader/slang/slang_execute.h b/src/mesa/shader/slang/slang_execute.h
index 119fd5135c..8ff1eb17c5 100644
--- a/src/mesa/shader/slang/slang_execute.h
+++ b/src/mesa/shader/slang/slang_execute.h
@@ -29,7 +29,7 @@
extern "C" {
#endif
-#define SLANG_MACHINE_STACK_SIZE 64
+#define SLANG_MACHINE_STACK_SIZE 1024
typedef struct slang_machine_
{