Mesa (master): i915g: Stop calling draw_prepare_shader_outputs

Stephane Marchesin marcheu at kemper.freedesktop.org
Thu Sep 5 02:49:38 UTC 2013


Module: Mesa
Branch: master
Commit: b1461acf15ab450fa0d360ec5e03c90d0797a6d4
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b1461acf15ab450fa0d360ec5e03c90d0797a6d4

Author: Stéphane Marchesin <marcheu at chromium.org>
Date:   Wed Sep  4 14:44:49 2013 -0700

i915g: Stop calling draw_prepare_shader_outputs

It's not useful on i915g since we don't support primid. Fixes
piglit point tests on i915g.

---

 src/gallium/drivers/i915/i915_state_derived.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/gallium/drivers/i915/i915_state_derived.c b/src/gallium/drivers/i915/i915_state_derived.c
index e1d1840..e01f16e 100644
--- a/src/gallium/drivers/i915/i915_state_derived.c
+++ b/src/gallium/drivers/i915/i915_state_derived.c
@@ -67,8 +67,6 @@ static void calculate_vertex_layout(struct i915_context *i915)
    colors[0] = colors[1] = fog = needW = face = FALSE;
    memset(&vinfo, 0, sizeof(vinfo));
 
-   draw_prepare_shader_outputs(i915->draw);
-
    /* Determine which fragment program inputs are needed.  Setup HW vertex
     * layout below, in the HW-specific attribute order.
     */




More information about the mesa-commit mailing list