mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 10:08:08 +02:00
panfrost: Inline max rt into compilers
Another dep. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6196>
This commit is contained in:
parent
54f96544ec
commit
5a3088e85f
2 changed files with 2 additions and 2 deletions
|
|
@ -169,7 +169,7 @@ bi_emit_frag_out(bi_context *ctx, nir_intrinsic_instr *instr)
|
|||
.vector_channels = 4
|
||||
};
|
||||
|
||||
assert(blend.blend_location < BIFROST_MAX_RENDER_TARGET_COUNT);
|
||||
assert(blend.blend_location < 8);
|
||||
assert(ctx->blend_types);
|
||||
assert(blend.src_types[0]);
|
||||
ctx->blend_types[blend.blend_location] = blend.src_types[0];
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ typedef struct {
|
|||
int uniform_cutoff;
|
||||
|
||||
/* For Bifrost - output type for each RT */
|
||||
nir_alu_type blend_types[BIFROST_MAX_RENDER_TARGET_COUNT];
|
||||
nir_alu_type blend_types[8];
|
||||
|
||||
/* Prepended before uniforms, mapping to SYSVAL_ names for the
|
||||
* sysval */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue