summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang/slang_execute.h
diff options
context:
space:
mode:
authorMichal Krol <mjkrol@gmail.org>2006-05-16 10:04:24 +0000
committerMichal Krol <mjkrol@gmail.org>2006-05-16 10:04:24 +0000
commit21ef956e9a48ab21e724a480a592e17d651477e6 (patch)
tree341779220a3e68298889f9e9c134ac2050e5551a /src/mesa/shader/slang/slang_execute.h
parenta67330d157ffe05602a3163c946aa97e29cb6bb5 (diff)
Extend printMESA function to output also to shader's info log.
Fix float-to-int conversion for x86 back-end.
Diffstat (limited to 'src/mesa/shader/slang/slang_execute.h')
-rw-r--r--src/mesa/shader/slang/slang_execute.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_execute.h b/src/mesa/shader/slang/slang_execute.h
index 4fca84c550..4afad20a4d 100644
--- a/src/mesa/shader/slang/slang_execute.h
+++ b/src/mesa/shader/slang/slang_execute.h
@@ -59,6 +59,7 @@ typedef struct slang_machine_
GLuint kill; /* discard the fragment */
GLuint exit; /* terminate the shader */
slang_machine_slot mem[SLANG_MACHINE_MEMORY_SIZE];
+ struct slang_info_log_ *infolog; /* printMESA() support */
#if defined(USE_X86_ASM) || defined(SLANG_X86)
slang_machine_x86 x86;
#endif
@@ -69,7 +70,6 @@ GLvoid slang_machine_dtr (slang_machine *);
void slang_machine_init (slang_machine *);
-int _slang_execute (const slang_assembly_file *);
int _slang_execute2 (const slang_assembly_file *, slang_machine *);
#if defined(USE_X86_ASM) || defined(SLANG_X86)