Merge the lp-surface-tiling branch into master.
[mesa.git] / src / gallium / auxiliary / draw / draw_pipe_pstipple.c
index bd433deecae11f8a005bb97b3aa6548eb9ec7a5e..ef30db094fea9af3a6c67af64b6a71478cbafcce 100644 (file)
@@ -436,6 +436,7 @@ pstip_create_texture(struct pstip_stage *pstip)
    texTemp.width0 = 32;
    texTemp.height0 = 32;
    texTemp.depth0 = 1;
+   texTemp.bind = PIPE_BIND_SAMPLER_VIEW;
 
    pstip->texture = screen->resource_create(screen, &texTemp);
    if (pstip->texture == NULL)