st/nine: Implement relative addressing for ps inputs
authorAxel Davy <axel.davy@ens.fr>
Sun, 12 Jun 2016 20:20:21 +0000 (22:20 +0200)
committerAxel Davy <axel.davy@ens.fr>
Mon, 10 Oct 2016 21:43:49 +0000 (23:43 +0200)
commit03f60a335767957dca451ff013a170557e0244b6
tree23cd0ca7a913e66c0af5e48dc824634d06c4b4d7
parenta5d308e51a7be7e90d1373fa8ec7813ae8018ae5
st/nine: Implement relative addressing for ps inputs

To implement the feature we copy the ps inputs to a temp array.
This is not optimal for performance, but it is the simplest solution.

This is a feature that is very very rarely used.

Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/nine_shader.c