mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
vkd3d-shader/hlsl: Add support for sample index argument in Load().
This commit is contained in:
committed by
Alexandre Julliard
parent
dc41444941
commit
dfa0076473
Notes:
Alexandre Julliard
2023-05-22 23:19:15 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Zebediah Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/135
@ -2674,6 +2674,8 @@ static void compute_liveness_recurse(struct hlsl_block *block, unsigned int loop
|
||||
load->texel_offset.node->last_read = instr->index;
|
||||
if (load->lod.node)
|
||||
load->lod.node->last_read = instr->index;
|
||||
if (load->sample_index.node)
|
||||
load->sample_index.node->last_read = instr->index;
|
||||
break;
|
||||
}
|
||||
case HLSL_IR_RESOURCE_STORE:
|
||||
|
Reference in New Issue
Block a user