summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/evergreen_state.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-04-24 01:23:33 +0200
committerMarek Olšák <[email protected]>2012-04-24 01:39:22 +0200
commit2a311b18fce9ea6538b0997ad23d86a061fb273c (patch)
tree0d6aecf67a9735039eba8f4c9598821ed18b8c86 /src/gallium/drivers/radeonsi/evergreen_state.c
parent89c488871056185b8633aae7e7573b398827b038 (diff)
radeonsi: stop using u_vbuf and adapt to gallium interface changes
Diffstat (limited to 'src/gallium/drivers/radeonsi/evergreen_state.c')
-rw-r--r--src/gallium/drivers/radeonsi/evergreen_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/evergreen_state.c b/src/gallium/drivers/radeonsi/evergreen_state.c
index 93c03abd738..034a9880ba0 100644
--- a/src/gallium/drivers/radeonsi/evergreen_state.c
+++ b/src/gallium/drivers/radeonsi/evergreen_state.c
@@ -1546,7 +1546,7 @@ static void evergreen_cb(struct r600_context *rctx, struct r600_pipe_state *rsta
format = si_translate_colorformat(surf->base.format);
swap = si_translate_colorswap(surf->base.format);
- if (rtex->resource.b.b.b.usage == PIPE_USAGE_STAGING) {
+ if (rtex->resource.b.b.usage == PIPE_USAGE_STAGING) {
endian = V_028C70_ENDIAN_NONE;
} else {
endian = si_colorformat_endian_swap(format);