summaryrefslogtreecommitdiffstats
path: root/m4/ax_pthread.m4
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2015-08-14 15:15:11 -0700
committerKenneth Graunke <[email protected]>2015-10-10 11:40:19 -0700
commit2953c3d76178d7589947e6ea1dbd902b7b02b3d4 (patch)
tree1b3d2df2c32ea524178bedb86855beac78798c1d /m4/ax_pthread.m4
parent6842ad79125371e7e61baac8e6b8a77583f79065 (diff)
i965/vs: Map scalar VS input locations properly; avoid tons of MOVs.
Previously, we used nir_lower_io with the scalar type_size function, which mapped VERT_ATTRIB_* locations to...some numbers. Then, in fs_visitor::nir_setup_inputs(), we created temporaries indexed by those numbers, and emitted MOVs from the actual ATTR registers to those temporaries. Virtually all of these were copy propagated away, but it's still ugly. This patch reworks our input lowering to produce NIR lower_input intrinsics that properly index into the ATTR file, so we can access it directly. No changes in shader-db. v2: Fix unreachable() message (Ken), update commit message (Matt). Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'm4/ax_pthread.m4')
0 files changed, 0 insertions, 0 deletions