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

wined3d: Generate declaration for typed buffer UAVs.

parent c5719b4f
...@@ -2123,6 +2123,10 @@ static void shader_generate_glsl_declarations(const struct wined3d_context *cont ...@@ -2123,6 +2123,10 @@ static void shader_generate_glsl_declarations(const struct wined3d_context *cont
switch (reg_maps->uav_resource_info[i].type) switch (reg_maps->uav_resource_info[i].type)
{ {
case WINED3D_SHADER_RESOURCE_BUFFER:
image_type = "imageBuffer";
break;
case WINED3D_SHADER_RESOURCE_TEXTURE_2D: case WINED3D_SHADER_RESOURCE_TEXTURE_2D:
image_type = "image2D"; image_type = "image2D";
break; 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