nir: drop unused alpha_ref_float
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 7 Oct 2019 10:19:15 +0000 (12:19 +0200)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Thu, 17 Oct 2019 08:41:36 +0000 (10:41 +0200)
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/compiler/nir/nir_divergence_analysis.c
src/compiler/nir/nir_intrinsics.py

index 301d7a4820b09d9a6efad17f62460f294c22f94e..f03dfec36f9fedc07efe947249c0f7daee21d74f 100644 (file)
@@ -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:
index 824cfb5e23a4e8c843617b7f81fc995b3f208b06..40430b328493fec923306cb40a11bfb1d79c3a50 100644 (file)
@@ -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)