summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/vega/vg_context.h
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-11-27 22:05:37 +0800
committerChia-I Wu <olv@lunarg.com>2010-12-01 11:23:49 +0800
commit438359597cd4254558f4d2fd5b54eb32c03e1b4c (patch)
treea1b7101f867a562cf932dac5da313ec785681d5d /src/gallium/state_trackers/vega/vg_context.h
parent3b71cb6ad6dabfefc9363a35872f4e70e1125603 (diff)
st/vega: Delay fb state update to vg_validate_state.
vg_manager_validate_framebuffer should mark the fb dirty and have vg_validate_state call cso_set_framebuffer. Rename VIEWPORT_DIRTY to FRAMEBUFFER_DIRTY.
Diffstat (limited to 'src/gallium/state_trackers/vega/vg_context.h')
-rw-r--r--src/gallium/state_trackers/vega/vg_context.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/vega/vg_context.h b/src/gallium/state_trackers/vega/vg_context.h
index 80a6c07c69..547674bd2a 100644
--- a/src/gallium/state_trackers/vega/vg_context.h
+++ b/src/gallium/state_trackers/vega/vg_context.h
@@ -81,11 +81,11 @@ enum dirty_state {
NONE_DIRTY = 0<<0,
BLEND_DIRTY = 1<<1,
RASTERIZER_DIRTY = 1<<2,
- VIEWPORT_DIRTY = 1<<3,
+ FRAMEBUFFER_DIRTY = 1<<3,
VS_DIRTY = 1<<4,
DEPTH_STENCIL_DIRTY = 1<<5,
ALL_DIRTY = BLEND_DIRTY | RASTERIZER_DIRTY |
- VIEWPORT_DIRTY | VS_DIRTY | DEPTH_STENCIL_DIRTY
+ FRAMEBUFFER_DIRTY | VS_DIRTY | DEPTH_STENCIL_DIRTY
};
struct vg_context