mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/hlsl: Parse SampleCmp() method.
This commit is contained in:
committed by
Alexandre Julliard
parent
7c94705c54
commit
2fd3550ba6
Notes:
Alexandre Julliard
2023-05-29 22:32:35 +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/206
@@ -615,6 +615,7 @@ enum hlsl_resource_load_type
|
||||
{
|
||||
HLSL_RESOURCE_LOAD,
|
||||
HLSL_RESOURCE_SAMPLE,
|
||||
HLSL_RESOURCE_SAMPLE_CMP,
|
||||
HLSL_RESOURCE_SAMPLE_LOD,
|
||||
HLSL_RESOURCE_SAMPLE_LOD_BIAS,
|
||||
HLSL_RESOURCE_SAMPLE_GRAD,
|
||||
@@ -629,7 +630,7 @@ struct hlsl_ir_resource_load
|
||||
struct hlsl_ir_node node;
|
||||
enum hlsl_resource_load_type load_type;
|
||||
struct hlsl_deref resource, sampler;
|
||||
struct hlsl_src coords, lod, ddx, ddy, sample_index, texel_offset;
|
||||
struct hlsl_src coords, lod, ddx, ddy, cmp, sample_index, texel_offset;
|
||||
enum hlsl_sampler_dim sampling_dim;
|
||||
};
|
||||
|
||||
@@ -831,7 +832,7 @@ struct hlsl_resource_load_params
|
||||
struct hlsl_type *format;
|
||||
enum hlsl_resource_load_type type;
|
||||
struct hlsl_ir_node *resource, *sampler;
|
||||
struct hlsl_ir_node *coords, *lod, *ddx, *ddy, *sample_index, *texel_offset;
|
||||
struct hlsl_ir_node *coords, *lod, *ddx, *ddy, *cmp, *sample_index, *texel_offset;
|
||||
enum hlsl_sampler_dim sampling_dim;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user