Closed GoogleCodeExporter closed 9 years ago
The error is:
error X5533: Relative address register must be aL register (first source param).
That is with optimization level 0. It compiles without error with optimization
levels 1, 2 and 3. I think D3DX is not unrolling the loop, which would
eliminate the need for relative addressing.
It also compiles without error at all optimization levels using shader models
4.0 and 5.0 using backwards compatibility mode.
Original comment by apatr...@chromium.org
on 18 Jan 2013 at 2:06
haixia@ added an alternate strategy for implementing array index clamping using
the clamp intrinsic rather than a user-defined function. I added an API to
allow switching between the two, and also re-incremented the optimization level
to 1, which seems to allow this functionality to be turned on reliably on
Windows:
https://code.google.com/p/angleproject/source/detail?r=1733
https://code.google.com/p/angleproject/source/detail?r=1734
Original comment by kbr@chromium.org
on 25 Jan 2013 at 12:55
Original comment by kbr@chromium.org
on 25 Jan 2013 at 12:57
Array index clamping has been re-enabled in Chromium in
https://code.google.com/p/chromium/issues/detail?id=172323 . Closing as fixed.
Original comment by kbr@chromium.org
on 12 Feb 2013 at 3:14
Original issue reported on code.google.com by
apatr...@chromium.org
on 18 Jan 2013 at 1:29