note: only 0x3f worth of valid register values for VS_REGS and PS_REGS, but high bit is set to indicate '0 registers used': Texture state dwords