- assert(brw->gen < 7);
-
- for (i = 0; i < size / sizeof(*samp); i++) {
- char name[20];
-
- sprintf(name, "WM SAMP%d", i);
- batch_out(brw, name, offset, 0, "filtering\n");
- batch_out(brw, name, offset, 1, "wrapping, lod\n");
- batch_out(brw, name, offset, 2, "default color pointer\n");
- batch_out(brw, name, offset, 3, "chroma key, aniso\n");
-
- samp++;
- offset += sizeof(*samp);
- }
-}
-
-static void dump_gen7_sampler_state(struct brw_context *brw,
- uint32_t offset, uint32_t size)
-{
- struct gen7_sampler_state *samp = brw->batch.bo->virtual + offset;
- int i;
-
- assert(brw->gen >= 7);
-
- for (i = 0; i < size / sizeof(*samp); i++) {