diff options
author | Erik Faye-Lund <[email protected]> | 2019-10-02 16:30:45 -0400 |
---|---|---|
committer | Erik Faye-Lund <[email protected]> | 2019-10-17 10:41:36 +0200 |
commit | 71c0dcf26621f0403586a1b09df7e7cecb063979 (patch) | |
tree | 57a2e1071ea53389c85595b779ee4c28a5697a34 /src/compiler/nir/nir.h | |
parent | eb3047c094abfa03e071453d7c373e9c2c574370 (diff) |
nir: support feeding state to nir_lower_clip_[vg]s
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r-- | src/compiler/nir/nir.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index a1f233917bd..9b94c9edf23 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -3908,9 +3908,11 @@ bool nir_lower_input_attachments(nir_shader *shader, bool use_fragcoord_sysval); bool nir_lower_clip_vs(nir_shader *shader, unsigned ucp_enables, bool use_vars, - bool use_clipdist_array); + bool use_clipdist_array, + const gl_state_index16 clipplane_state_tokens[][STATE_LENGTH]); bool nir_lower_clip_gs(nir_shader *shader, unsigned ucp_enables, - bool use_clipdist_array); + bool use_clipdist_array, + const gl_state_index16 clipplane_state_tokens[][STATE_LENGTH]); bool nir_lower_clip_fs(nir_shader *shader, unsigned ucp_enables, bool use_clipdist_array); bool nir_lower_clip_cull_distance_arrays(nir_shader *nir); |