summaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_fs.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2017-06-02 09:54:31 -0700
committerKenneth Graunke <[email protected]>2017-07-13 20:18:54 -0700
commitc9ef27e77ba0884c3716a3c39640e987200ea46e (patch)
tree6b92b70fa641978da7911d466da3199004464478 /src/intel/compiler/brw_fs.h
parent4f586cd8f19a598a0f61f361840a358a7f99eaa0 (diff)
i965: Factor out push locations.
With UBOs, the answer of "have we decided to push this uniform" gets a bit more complicated - for one, we have multiple surfaces. This patch refactors things so we can add the new code in a single place. Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_fs.h')
-rw-r--r--src/intel/compiler/brw_fs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_fs.h b/src/intel/compiler/brw_fs.h
index 6c8c0275a76..beb0d971b4c 100644
--- a/src/intel/compiler/brw_fs.h
+++ b/src/intel/compiler/brw_fs.h
@@ -125,6 +125,8 @@ public:
void split_virtual_grfs();
bool compact_virtual_grfs();
void assign_constant_locations();
+ bool get_pull_locs(const fs_reg &src, unsigned *out_surf_index,
+ unsigned *out_pull_index);
void lower_constant_loads();
void invalidate_live_intervals();
void calculate_live_intervals();