aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2019-10-07 12:19:15 +0200
committerErik Faye-Lund <[email protected]>2019-10-17 10:41:36 +0200
commite8095f2af0736b5937674ca319f29cc9dabb17d4 (patch)
tree3c6315b811e99b529f933a0bbc38a3134ab7d556
parent5af272b47469398762e984e27f65fc4ecc293d28 (diff)
nir: drop unused alpha_ref_float
Reviewed-by: Marek Olšák <[email protected]>
-rw-r--r--src/compiler/nir/nir_divergence_analysis.c1
-rw-r--r--src/compiler/nir/nir_intrinsics.py1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/compiler/nir/nir_divergence_analysis.c b/src/compiler/nir/nir_divergence_analysis.c
index 301d7a4820b..f03dfec36f9 100644
--- a/src/compiler/nir/nir_divergence_analysis.c
+++ b/src/compiler/nir/nir_divergence_analysis.c
@@ -98,7 +98,6 @@ visit_intrinsic(bool *divergent, nir_intrinsic_instr *instr,
case nir_intrinsic_load_draw_id:
case nir_intrinsic_load_is_indexed_draw:
case nir_intrinsic_load_viewport_scale:
- case nir_intrinsic_load_alpha_ref_float:
case nir_intrinsic_load_user_clip_plane:
case nir_intrinsic_load_viewport_x_scale:
case nir_intrinsic_load_viewport_y_scale:
diff --git a/src/compiler/nir/nir_intrinsics.py b/src/compiler/nir/nir_intrinsics.py
index 824cfb5e23a..40430b32849 100644
--- a/src/compiler/nir/nir_intrinsics.py
+++ b/src/compiler/nir/nir_intrinsics.py
@@ -570,7 +570,6 @@ system_value("work_group_id", 3)
system_value("user_clip_plane", 4, indices=[UCP_ID])
system_value("num_work_groups", 3)
system_value("helper_invocation", 1, bit_sizes=[1, 32])
-system_value("alpha_ref_float", 1)
system_value("layer_id", 1)
system_value("view_index", 1)
system_value("subgroup_size", 1)