projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gallium: replace DRM_CONF_THROTTLE with PIPE_CAP_MAX_FRAMES_IN_FLIGHT
[mesa.git]
/
src
/
gallium
/
drivers
/
nouveau
/
nv30
/
nv30_fragprog.c
diff --git
a/src/gallium/drivers/nouveau/nv30/nv30_fragprog.c
b/src/gallium/drivers/nouveau/nv30/nv30_fragprog.c
index 6de61bcc1c00ab3fc972b958cdd446f09ad6fb53..073b2a346707ae9539959a6c6925976ecf0976cb 100644
(file)
--- a/
src/gallium/drivers/nouveau/nv30/nv30_fragprog.c
+++ b/
src/gallium/drivers/nouveau/nv30/nv30_fragprog.c
@@
-171,7
+171,7
@@
nv30_fp_state_bind(struct pipe_context *pipe, void *hwcso)
* code
*/
if (fp != nv30->state.fragprog)
-
PUSH_RESET(nv30->base.pushbuf
, BUFCTX_FRAGPROG);
+
nouveau_bufctx_reset(nv30->bufctx
, BUFCTX_FRAGPROG);
nv30->fragprog.program = fp;
nv30->dirty |= NV30_NEW_FRAGPROG;