summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/nv50/nv50_vbo.c
diff options
context:
space:
mode:
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>2016-03-15 14:49:39 +0100
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>2016-03-19 00:09:05 +0100
commita07ebc1993069306a1c80db8de726a8981e62092 (patch)
tree57d299d8e730d92818f54c823c247f23c54989e5 /src/gallium/drivers/nouveau/nv50/nv50_vbo.c
parent517d2c97e1c94d9d5a3c03b4fac3e8d80d5334c4 (diff)
downloadexternal_mesa3d-a07ebc1993069306a1c80db8de726a8981e62092.zip
external_mesa3d-a07ebc1993069306a1c80db8de726a8981e62092.tar.gz
external_mesa3d-a07ebc1993069306a1c80db8de726a8981e62092.tar.bz2
nv50: rework the validation path for 3D
This exposes an interface for state validation that will be also used to rework the compute validation path. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Pierre Moreau <pierre.morrow@free.fr> Tested-by: Pierre Moreau <pierre.morrow@free.fr>
Diffstat (limited to 'src/gallium/drivers/nouveau/nv50/nv50_vbo.c')
-rw-r--r--src/gallium/drivers/nouveau/nv50/nv50_vbo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nv50/nv50_vbo.c b/src/gallium/drivers/nouveau/nv50/nv50_vbo.c
index 47cca01..a11cdf8 100644
--- a/src/gallium/drivers/nouveau/nv50/nv50_vbo.c
+++ b/src/gallium/drivers/nouveau/nv50/nv50_vbo.c
@@ -790,7 +790,7 @@ nv50_draw_vbo(struct pipe_context *pipe, const struct pipe_draw_info *info)
if (unlikely(nv50->num_so_targets && !nv50->gmtyprog))
nv50->state.prim_size = nv50_pipe_prim_to_prim_size[info->mode];
- nv50_state_validate(nv50, ~0);
+ nv50_state_validate_3d(nv50, ~0);
push->kick_notify = nv50_draw_vbo_kick_notify;