diff options
author | Axel Davy <[email protected]> | 2015-01-07 11:12:56 +0100 |
---|---|---|
committer | Axel Davy <[email protected]> | 2015-02-06 00:07:18 +0100 |
commit | 70a523818f08f97b6d51f156dca383cfcab8efab (patch) | |
tree | a4ed73db87b5b844b8e2d36174de6b1fb5c14d19 /Android.mk | |
parent | a249c7a161cdbb995b17195f1af88ed14f69f8b6 (diff) |
st/nine: Declare constants only up to the maximum needed.
Previously 276 constants were declared everytime.
This patch makes shaders declare constants up to the maximum
constant needed and moves the moment we print the TGSI
shader after the moment we declare the constants.
This is needed for r500, since when indirect addressing is used,
it cannot reduce the amount of constants needed, and that it is
restricted to 256 constant slots.
Reviewed-by: Ilia Mirkin <[email protected]>
Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'Android.mk')
0 files changed, 0 insertions, 0 deletions