diff options
author | Jason Ekstrand <[email protected]> | 2016-06-01 18:29:09 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-06-03 19:29:28 -0700 |
commit | 4d3b8318a714c470d12636a41b08bd60688f6c3b (patch) | |
tree | 6edd1a9934c4b9d51125e6b4f18bf2323f1578ac /src/compiler/glsl | |
parent | 56a178922fa200c98cbbb177e5fab106ad01072b (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/glsl')
-rw-r--r-- | src/compiler/glsl/glsl_to_nir.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/compiler/glsl/glsl_to_nir.cpp b/src/compiler/glsl/glsl_to_nir.cpp index 63a2cfdb8b9..daf237eee6b 100644 --- a/src/compiler/glsl/glsl_to_nir.cpp +++ b/src/compiler/glsl/glsl_to_nir.cpp @@ -1284,9 +1284,6 @@ nir_visitor::visit(ir_expression *ir) intrin->intrinsic == nir_intrinsic_interp_var_at_sample) intrin->src[0] = nir_src_for_ssa(evaluate_rvalue(ir->operands[1])); - if (intrin->intrinsic == nir_intrinsic_interp_var_at_offset) - shader->info.uses_interp_var_at_offset = true; - unsigned bit_size = glsl_get_bit_size(deref->type); add_instr(&intrin->instr, deref->type->vector_elements, bit_size); |