diff options
author | Luca Barbieri <[email protected]> | 2010-09-05 09:17:32 +0200 |
---|---|---|
committer | Luca Barbieri <[email protected]> | 2010-09-05 17:52:26 +0200 |
commit | 3bca263a92ab206d371e18ac65f6d36cadbc62a5 (patch) | |
tree | 7f66ad16ec6ce9fe642d17a867210c9a4877d921 /src/gallium/drivers/nvfx/nvfx_context.c | |
parent | 49b493ddd0bd6718fe02258a070121f5f4aa10d8 (diff) |
nvfx: remove remaining BEGIN_RING/eng3d uses
Diffstat (limited to 'src/gallium/drivers/nvfx/nvfx_context.c')
-rw-r--r-- | src/gallium/drivers/nvfx/nvfx_context.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_context.c b/src/gallium/drivers/nvfx/nvfx_context.c index 5a2fa14c887..9baf78b02a1 100644 --- a/src/gallium/drivers/nvfx/nvfx_context.c +++ b/src/gallium/drivers/nvfx/nvfx_context.c @@ -17,10 +17,11 @@ nvfx_flush(struct pipe_context *pipe, unsigned flags, /* XXX: we need to actually be intelligent here */ if (flags & PIPE_FLUSH_TEXTURE_CACHE) { - BEGIN_RING(chan, eng3d, 0x1fd8, 1); - OUT_RING (chan, 2); - BEGIN_RING(chan, eng3d, 0x1fd8, 1); - OUT_RING (chan, 1); + WAIT_RING(chan, 4); + OUT_RING(chan, RING_3D(0x1fd8, 1)); + OUT_RING(chan, 2); + OUT_RING(chan, RING_3D(0x1fd8, 1)); + OUT_RING(chan, 1); } FIRE_RING(chan); |