XNA Creators Club Online
Page 1 of 1 (3 items)
Sort Posts: Previous Next

fxc /T fx_4_0 limitation

Last post 03-29-2008 9:22 AM by jdavis21. 2 replies.
  • 03-27-2008 6:37 AM

    fxc /T fx_4_0 limitation

    getting this error with a large shader

    error X8000: D3D10 Internal Compiler Error: Invalid Bytecode: Index Dimension 2
    out of range (6663 specified, max allowed is 4096) for operand #1 of opcode #3 (
    counts are 1-based). Aborting.
    error X8000: D3D10 Internal Compiler Error: Invalid Bytecode: Can't continue val
    idation - aborting.

    is there anything I can do to get past this limitation?

     

  • 03-27-2008 11:38 AM In reply to

    Re: fxc /T fx_4_0 limitation

    It looks like you're hitting a compiler bug, since you should at least get a "better" error message that tells you your cbuffer has too many elements in it. I presume that your cbuffer has at least 6663 float4s in it, if not more? Your best bet is to try and split up your data into multiple cbuffers, or use tbuffers instead.
  • 03-29-2008 9:22 AM In reply to

    Re: fxc /T fx_4_0 limitation

    Putting them into texture worked great.  Thanks.
Page 1 of 1 (3 items) Previous Next