diff options
author | Erik Faye-Lund <[email protected]> | 2019-10-21 10:48:07 +0200 |
---|---|---|
committer | Erik Faye-Lund <[email protected]> | 2019-10-23 13:03:38 +0200 |
commit | beb6639a9d064b7c4dce389f9ea56fd1373edf33 (patch) | |
tree | c7657d052fc87db925d566dbcd2d301251381d37 /src/compiler | |
parent | f11ea2266644a016a898744d1283d83ab63f4fb2 (diff) |
Revert "nir: drop unused alpha_ref_float"
This reverts commit e8095f2af0736b5937674ca319f29cc9dabb17d4.
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Jose Maria Casanova <[email protected]>
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/nir/nir_divergence_analysis.c | 1 | ||||
-rw-r--r-- | src/compiler/nir/nir_intrinsics.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/nir/nir_divergence_analysis.c b/src/compiler/nir/nir_divergence_analysis.c index f03dfec36f9..301d7a4820b 100644 --- a/src/compiler/nir/nir_divergence_analysis.c +++ b/src/compiler/nir/nir_divergence_analysis.c @@ -98,6 +98,7 @@ 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 637576c092a..a648995f7fd 100644 --- a/src/compiler/nir/nir_intrinsics.py +++ b/src/compiler/nir/nir_intrinsics.py @@ -572,6 +572,7 @@ 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) |