aboutsummaryrefslogtreecommitdiffstats
path: root/src/freedreno
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2020-06-22 08:24:55 -0700
committerMarge Bot <[email protected]>2020-06-24 22:29:28 +0000
commit022c363cfbb7e37eef5d5b7559d24f8237a72f27 (patch)
tree089866f20c9f79ff89125ca49dfeee33c514bf80 /src/freedreno
parent64c2a10707f8296944160284bf62d0e6bf7a27d9 (diff)
freedreno/ir3: add helper to determine point-coord inputs
This will simplify a bit the logic for setting up vinterp/vprepl in the driver backend, and also avoid it being a flag-day when we switch the texcoord pipe cap. Signed-off-by: Rob Clark <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5595>
Diffstat (limited to 'src/freedreno')
-rw-r--r--src/freedreno/ir3/ir3_shader.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/freedreno/ir3/ir3_shader.h b/src/freedreno/ir3/ir3_shader.h
index 5ccbd8cb658..3e7ee89debe 100644
--- a/src/freedreno/ir3/ir3_shader.h
+++ b/src/freedreno/ir3/ir3_shader.h
@@ -769,8 +769,6 @@ struct ir3_shader_linkage {
static inline void
ir3_link_add(struct ir3_shader_linkage *l, uint8_t regid_, uint8_t compmask, uint8_t loc)
{
-
-
for (int j = 0; j < util_last_bit(compmask); j++) {
uint8_t comploc = loc + j;
l->varmask[comploc / 32] |= 1 << (comploc % 32);