[svn] Updated notes on DCL opcode. trunk
authoricculus
Wed, 02 Apr 2008 16:57:16 -0400
branchtrunk
changeset 58 c39f3685012c
parent 57 a5a9824082d1
child 59 1545354b2791
[svn] Updated notes on DCL opcode.
mojoshader.c
--- a/mojoshader.c	Wed Apr 02 16:51:28 2008 -0400
+++ b/mojoshader.c	Wed Apr 02 16:57:16 2008 -0400
@@ -9,8 +9,10 @@
 
 // !!! FIXME: I keep changing coding styles for symbols and typedefs.
 
-// !!! FIXME: do DEF* and DCL_* opcodes have to come before instructions?
-// !!! FIXME:  my reading of the msdn spec suggests no.
+// !!! FIXME: do DEF* opcodes have to come before instructions?
+// !!! FIXME:  my reading of the msdn spec suggests no, but it sounds like
+// !!! FIXME:  something they'd require. DCL_* _does_ have to be first.
+
 
 // Shader bytecode format is described at MSDN:
 //  http://msdn2.microsoft.com/en-us/library/ms800307.aspx
@@ -2235,6 +2237,7 @@
 } // parse_args_DEFB
 
 
+// !!! FIXME: add a state_DCL() that fails if DCL opcode comes after real instructions.
 static int parse_args_DCL(Context *ctx)
 {
     int unsupported = 0;