wined3d: Add support for 1D UAVs in shaders.

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 2018-09-11 14:18:09 +02:00 committed by Alexandre Julliard
parent 365cb779ac
commit 453e47d910
1 changed files with 8 additions and 0 deletions

View File

@ -2679,6 +2679,10 @@ static void shader_generate_glsl_declarations(const struct wined3d_context *cont
image_type = "imageBuffer";
break;
case WINED3D_SHADER_RESOURCE_TEXTURE_1D:
image_type = "image1D";
break;
case WINED3D_SHADER_RESOURCE_TEXTURE_2D:
image_type = "image2D";
break;
@ -2687,6 +2691,10 @@ static void shader_generate_glsl_declarations(const struct wined3d_context *cont
image_type = "image3D";
break;
case WINED3D_SHADER_RESOURCE_TEXTURE_1DARRAY:
image_type = "image1DArray";
break;
case WINED3D_SHADER_RESOURCE_TEXTURE_2DARRAY:
image_type = "image2DArray";
break;