unsigned dstA = blend->rt[0].alpha_dst_factor;
/* Special handling for MIN/MAX filter modes handled at
- * state_tracker level.
+ * frontend level.
*/
if (srcA != srcRGB ||
i,
tex->width0, tex->height0, tex->depth0,
view->u.tex.first_level, tex->last_level,
- addr,
+ 0, 0, addr,
row_stride, img_stride, mip_offsets);
} else
i915->mapped_vs_tex[i] = NULL;
return;
for (i = 0; i < num; i++) {
- /* Note: we're using pipe_sampler_view_release() here to work around
- * a possible crash when the old view belongs to another context that
- * was already destroyed.
- */
- pipe_sampler_view_release(pipe, &i915->fragment_sampler_views[i]);
- pipe_sampler_view_reference(&i915->fragment_sampler_views[i],
- views[i]);
+ pipe_sampler_view_reference(&i915->fragment_sampler_views[i], views[i]);
}
for (i = num; i < i915->num_fragment_sampler_views; i++)
- pipe_sampler_view_release(pipe, &i915->fragment_sampler_views[i]);
+ pipe_sampler_view_reference(&i915->fragment_sampler_views[i], NULL);
i915->num_fragment_sampler_views = num;
-/* Called when driver state tracker notices changes to the viewport
+/* Called when gallium frontends notice changes to the viewport
* matrix:
*/
static void i915_set_viewport_states( struct pipe_context *pipe,