Lines Matching defs:tmpl
374 struct pipe_resource tmpl;
378 memset(&tmpl, 0, sizeof(tmpl));
379 tmpl.target = PIPE_BUFFER;
380 tmpl.format = PIPE_FORMAT_R8_UNORM;
381 tmpl.width0 = 16; /* 4 floats */
382 tmpl.height0 = 1;
383 tmpl.depth0 = 1;
384 tmpl.array_size = 1;
385 tmpl.last_level = 0;
386 tmpl.nr_samples = 0;
387 tmpl.usage = PIPE_USAGE_DEFAULT;
388 tmpl.bind = PIPE_BIND_VERTEX_BUFFER;
389 tmpl.flags = 0;
390 This->dummy_vbo = pScreen->resource_create(pScreen, &tmpl);
417 struct pipe_resource tmpl;
418 memset(&tmpl, 0, sizeof(tmpl));
419 tmpl.target = PIPE_TEXTURE_2D;
420 tmpl.format = PIPE_FORMAT_R8G8B8A8_UNORM;
421 tmpl.width0 = 64;
422 tmpl.height0 = 64;
423 tmpl.depth0 = 1;
424 tmpl.array_size = 1;
425 tmpl.last_level = 0;
426 tmpl.nr_samples = 0;
427 tmpl.usage = PIPE_USAGE_DEFAULT;
428 tmpl.bind = PIPE_BIND_CURSOR | PIPE_BIND_SAMPLER_VIEW;
429 tmpl.flags = 0;
431 This->cursor.image = pScreen->resource_create(pScreen, &tmpl);