[Mesa-dev] [PATCH] gallium/tgsi: correct typo propagated from NV_vertex_program1_1

Erik Faye-Lund kusmabite at gmail.com
Wed Mar 5 01:37:45 PST 2014


On Thu, Feb 6, 2014 at 5:09 PM, Erik Faye-Lund <kusmabite at gmail.com> wrote:
> In the specification text of NV_vertex_program1_1, the upper
> limit of the RCC instruction is written as 1.884467e+19 in
> scientific notation, but as 0x5F800000 in binary. But the binary
> version translates to 1.84467e+19 rather than 1.884467e+19 in
> scientific notation.
>
> Since the lower-limit equals 2^-64 and the binary version equals
> 2^+64, let's assume the value in scientific notation is a typo
> and implement this using the value from the binary version
> instead.
>
> Signed-off-by: Erik Faye-Lund <kusmabite at gmail.com>
> ---
>
> I've also e-mailed NVIDIA's contact as listed in the specification,
> but I haven't gotten any reply yet.

I just thought I'd follow up now that I got a reply: my suspicion was
indeed right, and they'll push out an updated spec at some point
soon-ish. So yeah, this was the right thing to do.


More information about the mesa-dev mailing list