Navigation Menu

Skip to content

Commit

Permalink
[svn] Updated notes on DCL opcode.
Browse files Browse the repository at this point in the history
--HG--
branch : trunk
  • Loading branch information
icculus committed Apr 2, 2008
1 parent 53cbcbf commit 35e90e4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions mojoshader.c
Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 35e90e4

Please sign in to comment.