OSDN Git Service

mesa: add missing RG_INTEGER and some RED_INTEGER_EXT checks.
authorDave Airlie <airlied@redhat.com>
Sun, 4 Dec 2011 20:14:09 +0000 (20:14 +0000)
committerDave Airlie <airlied@redhat.com>
Sat, 10 Dec 2011 09:02:17 +0000 (09:02 +0000)
commitf767e96131ba69cf61aa9f848d5f24e4396ac920
tree02541b0e2e235db8c3ed8dab40c5835d9267d5e7
parent06f217d80f3d1318da4974bf7b31ea7edcf5eb0b
mesa: add missing RG_INTEGER and some RED_INTEGER_EXT checks.

This just adds the correct checks and asserts in the right places. This doesn't
fix all the tests that I've sent to piglit, need to add int paths to go alongside the uint paths that don't go via float to fix it up properly.

I'm not sure how much of that could be templated/shared will have a look
once I write it the long way.

Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/main/framebuffer.c
src/mesa/main/image.c
src/mesa/main/pack.c
src/mesa/main/texstore.c