diff options
author | Jason Ekstrand <[email protected]> | 2015-12-08 17:34:38 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-04-14 15:59:33 -0700 |
commit | 963513bb24bdd542f1af3733fab53ad450d3221b (patch) | |
tree | a5c14c3a629ebdb80685c0f39a89e6526ee73344 /src/gallium/state_trackers/glx | |
parent | 71f8039f728eb0a67e471321da61f0e88aec8035 (diff) |
i965/fs: Push small uniform arrays
Unfortunately, this also means that we need to use a slightly different
algorithm for assign_constant_locations. The old algorithm worked based on
the assumption that each read of a uniform value read exactly one float.
If it encountered a MOV_INDIRECT, it would immediately bail and push the
whole thing. Since we can now read ranges using MOV_INDIRECT, we need to
be able to push a series of floats without breaking them up. To do this,
we use an algorithm similar to the on in split_virtual_grfs.
Reviewed-by: Kristian Høgsberg <[email protected]>
Acked-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/glx')
0 files changed, 0 insertions, 0 deletions