wined3d: Add suport for 2D array texture UAVs.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia 2016-12-09 11:30:46 +01:00 committed by Alexandre Julliard
parent f5e4dad68c
commit 26aa82416f
1 changed files with 4 additions and 0 deletions

View File

@ -2135,6 +2135,10 @@ static void shader_generate_glsl_declarations(const struct wined3d_context *cont
image_type = "image3D"; image_type = "image3D";
break; break;
case WINED3D_SHADER_RESOURCE_TEXTURE_2DARRAY:
image_type = "image2DArray";
break;
default: default:
image_type = "unsupported_image"; image_type = "unsupported_image";
FIXME("Unhandled resource type %#x.\n", reg_maps->uav_resource_info[i].type); FIXME("Unhandled resource type %#x.\n", reg_maps->uav_resource_info[i].type);