Henri Verbeet : wined3d: Use the command stream state in wined3d_cs_exec_dispatch().
Alexandre Julliard
julliard at winehq.org
Tue Feb 28 15:27:03 CST 2017
Module: wine
Branch: master
Commit: a7809706bb60c56ec6a3888cd8997a707bc5f293
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a7809706bb60c56ec6a3888cd8997a707bc5f293
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Tue Feb 28 06:11:59 2017 +0100
wined3d: Use the command stream state in wined3d_cs_exec_dispatch().
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/wined3d/cs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/wined3d/cs.c b/dlls/wined3d/cs.c
index 1769dc1..8afa731 100644
--- a/dlls/wined3d/cs.c
+++ b/dlls/wined3d/cs.c
@@ -549,8 +549,8 @@ static void release_unordered_access_resources(const struct wined3d_shader *shad
static void wined3d_cs_exec_dispatch(struct wined3d_cs *cs, const void *data)
{
- struct wined3d_state *state = &cs->device->state;
const struct wined3d_cs_dispatch *op = data;
+ struct wined3d_state *state = &cs->state;
dispatch_compute(cs->device, state,
op->group_count_x, op->group_count_y, op->group_count_z);
More information about the wine-cvs
mailing list