summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/vega/vg_context.c
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2010-01-14 12:19:32 +0800
committerChia-I Wu <olv@lunarg.com>2010-03-12 09:57:03 +0800
commit8bcd616a3ffd040ef28b61b38b22da2dad9e2242 (patch)
treeb6b8b6aa1eb3bac6dda82a175b56b8e05dff5715 /src/gallium/state_trackers/vega/vg_context.c
parentd2083056d56990a9bfba774d5bda272b74d27a6f (diff)
st/vega: Implement st_api.h.
There is currently no user of this new interface. As the inteface can coexist with st_public.h, everthing should work as before.
Diffstat (limited to 'src/gallium/state_trackers/vega/vg_context.c')
-rw-r--r--src/gallium/state_trackers/vega/vg_context.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/vega/vg_context.c b/src/gallium/state_trackers/vega/vg_context.c
index 170391ec03..7769112a31 100644
--- a/src/gallium/state_trackers/vega/vg_context.c
+++ b/src/gallium/state_trackers/vega/vg_context.c
@@ -32,6 +32,7 @@
#include "shader.h"
#include "asm_util.h"
#include "st_inlines.h"
+#include "vg_manager.h"
#include "pipe/p_context.h"
#include "util/u_inlines.h"
@@ -305,6 +306,8 @@ static void update_clip_state(struct vg_context *ctx)
void vg_validate_state(struct vg_context *ctx)
{
+ vg_manager_validate_framebuffer(ctx);
+
if ((ctx->state.dirty & BLEND_DIRTY)) {
struct pipe_blend_state *blend = &ctx->state.g3d.blend;
memset(blend, 0, sizeof(struct pipe_blend_state));