diff options
author | Kenneth Graunke <[email protected]> | 2015-11-07 18:58:59 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2015-11-18 15:42:36 -0800 |
commit | fc19a0d2e422ea8e45bc5440a91f858f5f345884 (patch) | |
tree | 052ea6e7eeaed345d23ec0ca486affa3438d54ff /src/glsl | |
parent | 09d610796c03ae5a238b999ace5ccc2d3effd700 (diff) |
i965: Allow indirect GS input indexing in the scalar backend.
This allows arbitrary non-constant indices on GS input arrays,
both for the vertex index, and any array offsets beyond that.
All indirects are handled via the pull model. We could potentially
handle indirect addressing of pushed data as well, but it would add
additional code complexity, and we usually have to pull inputs anyway
due to the sheer volume of input data. Plus, marking pushed inputs
as live due to indirect addressing could exacerbate register pressure
problems pretty badly. We'd need to be careful.
v2: Use updated MOV_INDIRECT opcode.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Abdiel Janulgue <[email protected]>
Reviewed-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'src/glsl')
0 files changed, 0 insertions, 0 deletions