i965/vec4: Make with_writemask() non-static.
[mesa.git] / src / mesa / drivers / dri / i965 / gen6_sampler_state.c
index 16be8a79bfb4254d27f4a5aa2f9404f8fea7ba67..5416a179b55bfdc0d5edfde69901446625f28ef6 100644 (file)
@@ -39,7 +39,7 @@ upload_sampler_state_pointers(struct brw_context *brw)
             GS_SAMPLER_STATE_CHANGE |
             PS_SAMPLER_STATE_CHANGE |
             (4 - 2));
-   OUT_BATCH(brw->vs.sampler_offset); /* VS */
+   OUT_BATCH(brw->vs.base.sampler_offset); /* VS */
    OUT_BATCH(0); /* GS */
    OUT_BATCH(brw->wm.sampler_offset);
    ADVANCE_BATCH();