[PATCH 03/10] wined3d: Add compute shader to wined3d_shader union.

Guillaume Charifi guillaume.charifi at sfr.fr
Sun Jan 29 07:43:34 CST 2017


Signed-off-by: Guillaume Charifi <guillaume.charifi at sfr.fr>
---
 dlls/wined3d/wined3d_private.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h
index 708d215..b0c623a 100644
--- a/dlls/wined3d/wined3d_private.h
+++ b/dlls/wined3d/wined3d_private.h
@@ -3530,6 +3530,13 @@ struct wined3d_pixel_shader
     DWORD color0_reg;
 };
 
+struct wined3d_compute_shader
+{
+    UINT local_size_x;
+    UINT local_size_y;
+    UINT local_size_z;
+};
+
 struct wined3d_shader
 {
     LONG ref;
@@ -3567,6 +3574,7 @@ struct wined3d_shader
         struct wined3d_vertex_shader vs;
         struct wined3d_geometry_shader gs;
         struct wined3d_pixel_shader ps;
+        struct wined3d_compute_shader cs;
     } u;
 };
 
-- 
Guillaume Charifi <guillaume.charifi at sfr.fr>




More information about the wine-patches mailing list