mesa: re-implement _mesa_ProgramEnvParameter4fvARB() with memcpy()
authorBrian Paul <brianp@vmware.com>
Fri, 22 Jan 2010 22:41:08 +0000 (15:41 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 22 Jan 2010 22:41:11 +0000 (15:41 -0700)
commit099e8ec54d4f7b9cd9ae3a481d6a6ae60f4590be
tree99e800ea20b36ec94a1c7c5a076918f5eb92d81d
parent8d1a01d37039a76ecbb8fdb4c10ff8d11aa02dfb
mesa: re-implement _mesa_ProgramEnvParameter4fvARB() with memcpy()

This is faster and ensures that NaN floats get stored properly.
Before, NaN values (which might be used with UP2H, UP2US, UP4B and
UP4UB) weren't getting stored properly with gcc -O3.

This is the second part of the fix for the piglit fp-unpack-01 failure
(bug 25973).
src/mesa/shader/arbprogram.c