Lines Matching defs:max
125 /* Store the min/max index in a separate context. This is not supported yet, but
126 * the DDK seems to put all min/max search jobs at the beginning of the job chain
129 * min/max and draw contexts would prevent such optimizations (draw contexts are
135 uint32_t max;
275 offsetof(struct min_max_context, max));
842 nir_ssa_def *max = get_min_max_ctx_field(builder, max);
845 * the min/max search job.
852 nir_local_variable_create(b->impl, glsl_uint_type(), "max");
853 nir_store_var(b, max_var, max, 1);
874 max = nir_load_var(b, max_var);
886 max = nir_umax(b, max,
892 nir_store_var(b, max_var, max, 1);
902 max = nir_load_var(b, max_var);
911 max = nir_umax(b, max,
917 nir_store_var(b, max_var, max, 1);
921 max = nir_load_var(b, max_var);
926 builder->instance_size.raw = nir_iadd_imm(b, nir_usub_sat(b, max, min), 1);
1003 /* Search the min/max index in the range covered by the indirect draw call */
1022 nir_local_variable_create(b->impl, glsl_uint_type(), "max");
1321 ctx->max = 0;