softpipe: add get_dims callback for TXQ support. (v2)
authorDave Airlie <airlied@redhat.com>
Thu, 25 Aug 2011 10:35:52 +0000 (11:35 +0100)
committerDave Airlie <airlied@redhat.com>
Thu, 25 Aug 2011 15:49:20 +0000 (16:49 +0100)
commit461646f539aa306afa1df3f9d9c72da06818a3b6
treea6c0546cbf94c61eb8d0c715f6188b215bdd4e5b
parent7f1b9ddd12e97ac57c4818646c17521bb0c2c358
softpipe: add get_dims callback for TXQ support. (v2)

This adds the get_dims callback that is called from the tgsi exec_txq.

It returns values as per EXT_gpu_program4.

v2: fix one indent + use a switch (slighty modified from Brian)

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/softpipe/sp_tex_sample.c