summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/ir3/ir3.h
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2014-10-25 15:47:21 -0400
committerRob Clark <[email protected]>2014-12-23 19:53:01 -0500
commitf332cf92b69e52de3cb7c3088ad1efd2e291bb88 (patch)
treeefa54a197da9b2decab5eae23c97dce3ae5096bc /src/gallium/drivers/freedreno/ir3/ir3.h
parent4097ef6ee88e65bc2cf08fc9c2561665824309f4 (diff)
freedreno/ir3: split out legalize pass
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/ir3/ir3.h')
-rw-r--r--src/gallium/drivers/freedreno/ir3/ir3.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/ir3.h b/src/gallium/drivers/freedreno/ir3/ir3.h
index 98715a98c0b..c907c018d13 100644
--- a/src/gallium/drivers/freedreno/ir3/ir3.h
+++ b/src/gallium/drivers/freedreno/ir3/ir3.h
@@ -438,7 +438,10 @@ int ir3_block_sched(struct ir3_block *block);
/* register assignment: */
int ir3_block_ra(struct ir3_block *block, enum shader_t type,
- bool half_precision, bool frag_coord, bool frag_face,
+ bool half_precision, bool frag_coord, bool frag_face);
+
+/* legalize: */
+void ir3_block_legalize(struct ir3_block *block,
bool *has_samp, int *max_bary);
#ifndef ARRAY_SIZE