Commit a7809706 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Use the command stream state in wined3d_cs_exec_dispatch().

parent a7560cf6
...@@ -549,8 +549,8 @@ static void release_unordered_access_resources(const struct wined3d_shader *shad ...@@ -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) 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; const struct wined3d_cs_dispatch *op = data;
struct wined3d_state *state = &cs->state;
dispatch_compute(cs->device, state, dispatch_compute(cs->device, state,
op->group_count_x, op->group_count_y, op->group_count_z); op->group_count_x, op->group_count_y, op->group_count_z);
......
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