mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 15:20:10 +01: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>
This commit is contained in:
parent
72c348f85c
commit
a6e1178f91
1 changed files with 4 additions and 2 deletions
|
|
@ -459,8 +459,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