jay: Gripe more clearly about dual source blending

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41535>
This commit is contained in:
Kenneth Graunke 2026-05-08 14:42:12 -07:00 committed by Marge Bot
parent 4f26c6b682
commit f6debb842d

View file

@ -142,6 +142,7 @@ collect_fragment_output(nir_builder *b, nir_intrinsic_instr *intr, void *ctx_)
gl_frag_result loc = nir_intrinsic_io_semantics(intr).location;
assert(!nir_intrinsic_io_semantics(intr).dual_source_blend_index && "todo");
assert(loc != FRAG_RESULT_DUAL_SRC_BLEND && "todo");
nir_def **out;
if (loc == FRAG_RESULT_COLOR) {
out = &ctx->colour[0];