panfrost: Disable indirect outputs for now
The hardware needs this lowered anyway; for now, might as well use mesa's default lowering for pure conformance reasons. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
This commit is contained in:
parent
9db5816e02
commit
12cd89da81
|
@ -958,8 +958,10 @@ nir_src_index(compiler_context *ctx, nir_src *src)
|
|||
{
|
||||
if (src->is_ssa)
|
||||
return src->ssa->index;
|
||||
else
|
||||
else {
|
||||
assert(!src->reg.indirect);
|
||||
return ctx->func->impl->ssa_alloc + src->reg.reg->index;
|
||||
}
|
||||
}
|
||||
|
||||
static unsigned
|
||||
|
@ -967,8 +969,10 @@ nir_dest_index(compiler_context *ctx, nir_dest *dst)
|
|||
{
|
||||
if (dst->is_ssa)
|
||||
return dst->ssa.index;
|
||||
else
|
||||
else {
|
||||
assert(!dst->reg.indirect);
|
||||
return ctx->func->impl->ssa_alloc + dst->reg.reg->index;
|
||||
}
|
||||
}
|
||||
|
||||
static unsigned
|
||||
|
|
|
@ -320,8 +320,9 @@ panfrost_get_shader_param(struct pipe_screen *screen,
|
|||
return 0;
|
||||
|
||||
case PIPE_SHADER_CAP_INDIRECT_INPUT_ADDR:
|
||||
case PIPE_SHADER_CAP_INDIRECT_OUTPUT_ADDR:
|
||||
return 1;
|
||||
case PIPE_SHADER_CAP_INDIRECT_OUTPUT_ADDR:
|
||||
return 0;
|
||||
|
||||
case PIPE_SHADER_CAP_INDIRECT_TEMP_ADDR:
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue