Commit 453e47d9 authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

wined3d: Add support for 1D UAVs in shaders.

parent 365cb779
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment