Lines Matching defs:options
209 const nir_lower_blend_options *options,
215 enum pipe_format format = options->format[rt];
241 nir_ssa_def *out = nir_logicop_func(b, options->logicop_func, src, dst);
279 const nir_lower_blend_options *options,
285 if (options->scalar_blend_const) {
299 enum pipe_format format = options->format[rt];
334 (c < 3) ? options->rt[rt].rgb : options->rt[rt].alpha;
370 const nir_lower_blend_options *options)
378 if (rt < 0 || options->format[rt] == PIPE_FORMAT_NONE)
395 /* Blend the two colors per the passed options */
398 if (options->logicop_enable) {
399 blended = nir_blend_logicop(b, options, rt, src, dst);
400 } else if (!util_format_is_pure_integer(options->format[rt])) {
401 assert(!util_format_is_scaled(options->format[rt]));
402 blended = nir_blend(b, options, rt, src, options->src1, dst);
406 blended = nir_color_mask(b, options->rt[rt].colormask, blended, dst);
428 const nir_lower_blend_options *options = data;
475 return nir_lower_blend_store(b, intrin, options);
494 nir_lower_blend(nir_shader *shader, const nir_lower_blend_options *options)
522 if (rt < 0 || options->format[rt] == PIPE_FORMAT_NONE)
526 util_format_get_nr_components(options->format[rt]);
536 (void *)options);