mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/hlsl: Add support for SampleGrad() method.
Signed-off-by: Ethan Lee <flibitijibibo@gmail.com>
This commit is contained in:
committed by
Alexandre Julliard
parent
c3f10fe271
commit
24d4ab7fb3
Notes:
Alexandre Julliard
2023-05-23 23:13:12 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Zebediah Figura (@zfigura) Approved-by: Francisco Casas (@fcasas) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/184
@@ -2674,6 +2674,10 @@ 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->ddx.node)
|
||||
load->ddx.node->last_read = instr->index;
|
||||
if (load->ddy.node)
|
||||
load->ddy.node->last_read = instr->index;
|
||||
if (load->sample_index.node)
|
||||
load->sample_index.node->last_read = instr->index;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user