mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/hlsl: Implement texture gather methods.
Signed-off-by: Francisco Casas <fcasas@codeweavers.com> Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
committed by
Alexandre Julliard
parent
7aa709ad57
commit
6de080088a
@@ -1278,8 +1278,13 @@ static void dump_ir_resource_load(struct vkd3d_string_buffer *buffer, const stru
|
||||
{
|
||||
[HLSL_RESOURCE_LOAD] = "load_resource",
|
||||
[HLSL_RESOURCE_SAMPLE] = "sample",
|
||||
[HLSL_RESOURCE_GATHER_RED] = "gather_red",
|
||||
[HLSL_RESOURCE_GATHER_GREEN] = "gather_green",
|
||||
[HLSL_RESOURCE_GATHER_BLUE] = "gather_blue",
|
||||
[HLSL_RESOURCE_GATHER_ALPHA] = "gather_alpha",
|
||||
};
|
||||
|
||||
assert(load->load_type < ARRAY_SIZE(type_names));
|
||||
vkd3d_string_buffer_printf(buffer, "%s(resource = ", type_names[load->load_type]);
|
||||
dump_deref(buffer, &load->resource);
|
||||
vkd3d_string_buffer_printf(buffer, ", sampler = ");
|
||||
|
||||
Reference in New Issue
Block a user