mojoshader_assembler.c
changeset 801 6f9625737d41
parent 798 5dd67cc04cf9
child 840 84a0c6807aa8
--- a/mojoshader_assembler.c	Tue Dec 29 17:29:32 2009 +0200
+++ b/mojoshader_assembler.c	Tue Dec 29 22:11:25 2009 +0200
@@ -13,6 +13,10 @@
 #define __MOJOSHADER_INTERNAL__ 1
 #include "mojoshader_internal.h"
 
+#if !SUPPORT_PROFILE_BYTECODE
+#error Shader assembler needs bytecode profile. Fix your build.
+#endif
+
 #if DEBUG_ASSEMBLER_PARSER
     #define print_debug_token(token, len, val) \
         MOJOSHADER_print_debug_token("ASSEMBLER", token, len, val)