gallium: util_blit_pixels() takes source sampler view as argument.
[mesa.git] / src / gallium / auxiliary / draw / draw_vs.c
index 6bdd612e6f436cbdfd88f93c26883780ed588d1c..90858380221624fc3e14f5b4302d754ed749437a 100644 (file)
@@ -61,6 +61,7 @@ draw_vs_set_constants(struct draw_context *draw,
          }
          draw->vs.aligned_constant_storage[slot] = align_malloc(size, 16);
       }
+      assert(constants);
       memcpy((void *)draw->vs.aligned_constant_storage[slot],
              constants,
              size);