diff options
author | Yang Zhao <yang@yangman.ca> | 2009-03-12 18:50:32 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-03-12 18:50:32 -0400 |
commit | 1fe0dcfe98dfe30499ba53c1f208c4ef10bef001 (patch) | |
tree | d5716df817fefa32e0a54d9ab4582a9e712fdd0e /src/theatre200.h | |
parent | f356ca7795531e0c080775efb598141eb7db44ba (diff) |
R6xx/R7xx shader: Fix OFFSET_[XYZ] macro for TEX_DWORD2 to accept floats
Values for OFFSET_[XYZ] are 5-bits two's-complement fixed-point with
one-bit after decimal point. Values in [-8.0, 7.5] are valid. Inputs
that do not exactly land on 0.5 increments are rounded towards 0 to the
nearest increment.
Diffstat (limited to 'src/theatre200.h')
0 files changed, 0 insertions, 0 deletions