Rework r300 fragprog avoid using bitfield structure.
authorJerome Glisse <glisse@freedesktop.org>
Mon, 25 Dec 2006 22:34:56 +0000 (23:34 +0100)
committerJerome Glisse <glisse@freedesktop.org>
Mon, 25 Dec 2006 22:40:20 +0000 (23:40 +0100)
commitb8769f318ff9c2e4a74fbb1d4b058eb521e36dda
tree0d2ab8708ff73dc49f9beca1a8b402ea0af30d54
parentd79323bd42864fc4768874f56734bad9dc6d8a9c
Rework r300 fragprog avoid using bitfield structure.

It seems that bitfield structure lead to some strange
problem on 64bits arch, don't want to waste time debugging
strange things like that so converted pfs_reg_t structure
to a GLuint and use good old masking and shifting spell.
(cherry picked from 2a7de9d095d8e60da12b11aaa1efe664b87b11d3 commit)
src/mesa/drivers/dri/r300/r300_fragprog.c
src/mesa/drivers/dri/r300/r300_fragprog.h