r600/shader: add utility functions to do single slot arithmatic
authorDave Airlie <airlied@redhat.com>
Mon, 30 Nov 2015 05:34:14 +0000 (15:34 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 6 Dec 2015 23:59:01 +0000 (09:59 +1000)
commit0696ebc899d3aa125ae85b757c5fba137617ecaa
treef09423c7041a9c6c7c0b4f57b69e5fa9b3ac66fb
parent09d25a9b37eeb34b3475fe486b82e12e904bcb28
r600/shader: add utility functions to do single slot arithmatic

These utilities are to be used to do things like integer adds and
multiplies to be used in calculating the LDS offsets etc.

It handles CAYMAN MULLO differences as well.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_shader.c