diff options
author | Marcin KoĆcielnicki <[email protected]> | 2009-12-28 16:23:40 +0000 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2009-12-28 18:09:26 +0100 |
commit | c84cc09d41a83caa96eca84c73284024d8d63024 (patch) | |
tree | 3b8050fea372f0568e2bb16ab250a17a2301714a /src/gallium/drivers/nv50/nv50_surface.c | |
parent | b46bcd8e7b37aa2e9159e126c1cc88234a3c2790 (diff) |
nv50: Dehexify and bring up to date with new method defines.
Signed-off-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_surface.c')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_surface.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/nv50/nv50_surface.c b/src/gallium/drivers/nv50/nv50_surface.c index 79655fc08d5..6378132979e 100644 --- a/src/gallium/drivers/nv50/nv50_surface.c +++ b/src/gallium/drivers/nv50/nv50_surface.c @@ -176,11 +176,11 @@ nv50_surface_fill(struct pipe_context *pipe, struct pipe_surface *dest, if (ret) return; - BEGIN_RING(chan, eng2d, 0x0580, 3); - OUT_RING (chan, 4); + BEGIN_RING(chan, eng2d, NV50_2D_DRAW_SHAPE, 3); + OUT_RING (chan, NV50_2D_DRAW_SHAPE_RECTANGLES); OUT_RING (chan, format); OUT_RING (chan, value); - BEGIN_RING(chan, eng2d, NV50_2D_RECT_X1, 4); + BEGIN_RING(chan, eng2d, NV50_2D_DRAW_POINT32_X(0), 4); OUT_RING (chan, destx); OUT_RING (chan, desty); OUT_RING (chan, width); |