mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-19 09:18:10 +02:00
aco: Disallow LSHS temp-only I/O when VS output is written indirectly.
Cc: mesa-stable
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9100>
(cherry picked from commit a6e1178f91)
This commit is contained in:
parent
dde6de9cbf
commit
c6f1d33ae0
2 changed files with 5 additions and 3 deletions
|
|
@ -58,7 +58,7 @@
|
|||
"description": "aco: Disallow LSHS temp-only I/O when VS output is written indirectly.",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -460,8 +460,10 @@ setup_tcs_info(isel_context *ctx, nir_shader *nir, nir_shader *vs)
|
|||
|
||||
if (ctx->tcs_in_out_eq) {
|
||||
ctx->tcs_temp_only_inputs = ~nir->info.tess.tcs_cross_invocation_inputs_read &
|
||||
~nir->info.inputs_read_indirectly &
|
||||
nir->info.inputs_read;
|
||||
~nir->info.inputs_read_indirectly &
|
||||
~vs->info.outputs_accessed_indirectly &
|
||||
nir->info.inputs_read &
|
||||
vs->info.outputs_written;
|
||||
}
|
||||
|
||||
ctx->tcs_num_inputs = ctx->program->info->tcs.num_linked_inputs;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue