r600/shader: add function to get tess constants info
authorDave Airlie <airlied@redhat.com>
Mon, 30 Nov 2015 05:32:18 +0000 (15:32 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 6 Dec 2015 23:59:01 +0000 (09:59 +1000)
commit2a9639e41fdcecb489e39f739e4d42e6a78655f3
treeea7ff0b99143fb07370bbec28304c6784e231d67
parent0696ebc899d3aa125ae85b757c5fba137617ecaa
r600/shader: add function to get tess constants info

This function retrieves the tess input/output info
from the tess constant buffer that is bound to the shader.

This uses a vfetch to get the values into the shader.

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