From: Brian Paul Date: Tue, 5 Jan 2016 20:03:04 +0000 (-0700) Subject: svga: add some comments in svga_state_vs.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=993b04ee2c415e15f89e2717cfeff90225452937;p=mesa.git svga: add some comments in svga_state_vs.c Reviewed-by: Charmaine Lee --- diff --git a/src/gallium/drivers/svga/svga_state_vs.c b/src/gallium/drivers/svga/svga_state_vs.c index 24574c1bf85..a103dab25fe 100644 --- a/src/gallium/drivers/svga/svga_state_vs.c +++ b/src/gallium/drivers/svga/svga_state_vs.c @@ -173,8 +173,11 @@ make_vs_key(struct svga_context *svga, struct svga_compile_key *key) return; } + /* SVGA_NEW_PRESCALE */ key->vs.need_prescale = svga->state.hw_clear.prescale.enabled && (svga->curr.gs == NULL); + + /* SVGA_NEW_RAST */ key->vs.allow_psiz = svga->curr.rast->templ.point_size_per_vertex; /* SVGA_NEW_FS */