Home
last modified time | relevance | path

Searched refs:wrap_params (Results 1 - 1 of 1) sorted by relevance

/third_party/mesa3d/src/microsoft/compiler/
H A Ddxil_nir_lower_int_samplers.c121 wrap_clamp_to_edge(nir_builder *b, wrap_result_t *wrap_params, nir_ssa_def *size) in wrap_clamp_to_edge() argument
124 wrap_params->coords = nir_fmin(b, nir_fsub(b, size, nir_imm_float(b, 1.0f)), in wrap_clamp_to_edge()
125 nir_fmax(b, wrap_params->coords, nir_imm_float(b, 0.0f))); in wrap_clamp_to_edge()
129 wrap_repeat(nir_builder *b, wrap_result_t *wrap_params, nir_ssa_def *size) in wrap_repeat() argument
134 wrap_params->coords = nir_fmod(b, wrap_params->coords, size); in wrap_repeat()
135 nir_instr_as_alu(wrap_params->coords->parent_instr)->exact = true; in wrap_repeat()
147 wrap_mirror_repeat(nir_builder *b, wrap_result_t *wrap_params, nir_ssa_def *size) in wrap_mirror_repeat() argument
150 nir_ssa_def *coord_mod2size = nir_fmod(b, wrap_params->coords, nir_fmul(b, nir_imm_float(b, 2.0f), size)); in wrap_mirror_repeat()
153 wrap_params in wrap_mirror_repeat()
157 wrap_mirror_clamp_to_edge(nir_builder *b, wrap_result_t *wrap_params, nir_ssa_def *size) wrap_mirror_clamp_to_edge() argument
165 wrap_clamp(nir_builder *b, wrap_result_t *wrap_params, nir_ssa_def *size) wrap_clamp() argument
173 wrap_mirror_clamp(nir_builder *b, wrap_result_t *wrap_params, nir_ssa_def *size) wrap_mirror_clamp() argument
[all...]

Completed in 1 milliseconds