summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_lower_io.c
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2019-04-03 19:29:36 -0400
committerJason Ekstrand <[email protected]>2019-07-02 16:15:25 +0000
commit5787a2dfe3091804efc0930560751030950ca7d0 (patch)
tree570aaf3c5d38a66c7f2a7dd0cfa9128fc882bafb /src/compiler/nir/nir_lower_io.c
parent5375d009be1811e22f654ea82a04164a5752022c (diff)
nir: add pass to lower load_interpolated_input
Signed-off-by: Rob Clark <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_lower_io.c')
-rw-r--r--src/compiler/nir/nir_lower_io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/nir/nir_lower_io.c b/src/compiler/nir/nir_lower_io.c
index c54303b271e..a9b3b95ef49 100644
--- a/src/compiler/nir/nir_lower_io.c
+++ b/src/compiler/nir/nir_lower_io.c
@@ -1203,6 +1203,7 @@ nir_get_io_offset_src(nir_intrinsic_instr *instr)
case nir_intrinsic_load_uniform:
case nir_intrinsic_load_global:
case nir_intrinsic_load_scratch:
+ case nir_intrinsic_load_fs_input_interp_deltas:
return &instr->src[0];
case nir_intrinsic_load_ubo:
case nir_intrinsic_load_ssbo: