Lines Matching refs:job
133 struct vc5_job *job = vc5->job; in emit_one_texture() local
143 vc5_cl_ensure_space(&job->indirect, in emit_one_texture()
147 job->indirect.bo); in emit_one_texture()
243 cl_packet_pack(TEXTURE_SHADER_STATE)(&job->indirect, packed, &unpacked); in emit_one_texture()
249 vc5_cl_ensure_space(&job->indirect, ARRAY_SIZE(packed), 32); in emit_one_texture()
250 cl_emit_prepacked(&job->indirect, &packed); in emit_one_texture()
276 emit_rt_blend(struct vc5_context *vc5, struct vc5_job *job, in emit_rt_blend() argument
279 cl_emit(&job->bcl, BLEND_CONFIG, config) { in emit_rt_blend()
310 struct vc5_job *job = vc5->job; in v3dX() local
333 maxx = MIN2(vp_maxx, job->draw_width); in v3dX()
334 maxy = MIN2(vp_maxy, job->draw_height); in v3dX()
342 cl_emit(&job->bcl, CLIP_WINDOW, clip) { in v3dX()
349 job->draw_min_x = MIN2(job->draw_min_x, minx); in v3dX()
350 job->draw_min_y = MIN2(job->draw_min_y, miny); in v3dX()
351 job->draw_max_x = MAX2(job->draw_max_x, maxx); in v3dX()
352 job->draw_max_y = MAX2(job->draw_max_y, maxy); in v3dX()
359 cl_emit(&job->bcl, CONFIGURATION_BITS, config) { in v3dX()
406 cl_emit(&job->bcl, DEPTH_OFFSET, depth) { in v3dX()
415 cl_emit(&job->bcl, POINT_SIZE, point_size) { in v3dX()
419 cl_emit(&job->bcl, LINE_WIDTH, line_width) { in v3dX()
425 cl_emit(&job->bcl, CLIPPER_XY_SCALING, clip) { in v3dX()
432 cl_emit(&job->bcl, CLIPPER_Z_SCALE_AND_OFFSET, clip) { in v3dX()
438 cl_emit(&job->bcl, CLIPPER_Z_MIN_MAX_CLIPPING_PLANES, clip) { in v3dX()
445 cl_emit(&job->bcl, VIEWPORT_OFFSET, vp) { in v3dX()
458 emit_rt_blend(vc5, job, blend, i); in v3dX()
460 emit_rt_blend(vc5, job, blend, 0); in v3dX()
467 cl_emit(&job->bcl, COLOUR_WRITE_MASKS, mask) { in v3dX()
491 cl_emit(&job->bcl, BLEND_CONSTANT_COLOUR, colour) { in v3dX()
508 cl_emit_with_prepacked(&job->bcl, STENCIL_CONFIG, in v3dX()
516 cl_emit_with_prepacked(&job->bcl, STENCIL_CONFIG, in v3dX()
542 cl_emit(&job->bcl, FLAT_SHADE_FLAGS, flags) { in v3dX()
568 cl_emit(&job->bcl, ZERO_ALL_FLAT_SHADE_FLAGS, flags); in v3dX()
577 cl_emit(&job->bcl, TRANSFORM_FEEDBACK_SPECS, tfe) { in v3dX()
585 cl_emit(&job->bcl, TRANSFORM_FEEDBACK_ENABLE, tfe) { in v3dX()
593 cl_emit_prepacked(&job->bcl, in v3dX()
604 cl_emit(&job->bcl, TRANSFORM_FEEDBACK_BUFFER, output) { in v3dX()
613 cl_emit(&job->bcl, TRANSFORM_FEEDBACK_OUTPUT_ADDRESS, output) { in v3dX()
619 vc5_job_add_write_resource(vc5->job, in v3dX()
629 cl_emit(&job->bcl, OCCLUSION_QUERY_COUNTER, counter) { in v3dX()
630 job->oq_enabled = vc5->active_queries && vc5->current_oq; in v3dX()
631 if (job->oq_enabled) { in v3dX()