Stange CAL compiler error

Discussion created by malcolm3141 on Aug 5, 2010
Latest reply on Aug 10, 2010 by malcolm3141

I keep encountering the following error being reported by the CAL compiler calclCompile(...).

ILScanILBinary: Unsupported opcode for architecture.


The offending line is a texture sample instruction:

sample_resource(0)_sampler(0)_coordtype(unnormalized)_aoffimmi(0.0,1.0,0.0) r67.xyzw,


The strange thing is that in some cases putting a comment after the sample instruction stops the error from occuring. Also the SKA compiler can compile the IL without any issues.

I am running Catalyst 10.7, while SKA is still using an earlier compiler version (may explain the difference).


Any ideas? I'd love to know a good workaround for this issue...