summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-06-01 18:29:09 -0700
committerJason Ekstrand <[email protected]>2016-06-03 19:29:28 -0700
commit4d3b8318a714c470d12636a41b08bd60688f6c3b (patch)
tree6edd1a9934c4b9d51125e6b4f18bf2323f1578ac /src/compiler/nir
parent56a178922fa200c98cbbb177e5fab106ad01072b (diff)
nir/info: Get rid of uses_interp_var_at_offset
We were using this briefly in the i965 driver to trigger recompiles but we haven't been using it since we switched to the NIR y-transform lowering pass. Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/compiler/nir')
-rw-r--r--src/compiler/nir/nir.h3
-rw-r--r--src/compiler/nir/nir_gather_info.c4
2 files changed, 0 insertions, 7 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h
index 3f9309c04dd..ec7b0c7726d 100644
--- a/src/compiler/nir/nir.h
+++ b/src/compiler/nir/nir.h
@@ -1723,9 +1723,6 @@ typedef struct nir_shader_info {
/* Whether or not this shader ever uses textureGather() */
bool uses_texture_gather;
- /** Whether or not this shader uses nir_intrinsic_interp_var_at_offset */
- bool uses_interp_var_at_offset;
-
/* Whether or not this shader uses the gl_ClipDistance output */
bool uses_clip_distance_out;
diff --git a/src/compiler/nir/nir_gather_info.c b/src/compiler/nir/nir_gather_info.c
index 15a9a4f08b4..2d6efd55a68 100644
--- a/src/compiler/nir/nir_gather_info.c
+++ b/src/compiler/nir/nir_gather_info.c
@@ -57,10 +57,6 @@ gather_intrinsic_info(nir_intrinsic_instr *instr, nir_shader *shader)
shader->info.gs.uses_end_primitive = 1;
break;
- case nir_intrinsic_interp_var_at_offset:
- shader->info.uses_interp_var_at_offset = 1;
- break;
-
default:
break;
}