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:
parent
365cb779ac
commit
453e47d910
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue