From 35e90e4131a8a69a23a9a66a612159a8d6c14aa7 Mon Sep 17 00:00:00 2001 From: icculus Date: Wed, 2 Apr 2008 16:57:16 -0400 Subject: [PATCH] [svn] Updated notes on DCL opcode. --HG-- branch : trunk --- mojoshader.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mojoshader.c b/mojoshader.c index d3202c54..faa536fa 100644 --- a/mojoshader.c +++ b/mojoshader.c @@ -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 @@ static int parse_args_DEFB(Context *ctx) } // 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;