/third_party/glslang/SPIRV/ |
H A D | doc.cpp | 1684 ExecutionModeOperands[ExecutionModeInvocations].push(OperandLiteralNumber, "'Number of <<Invocation,invocations>>'"); in Parameterize() 1686 ExecutionModeOperands[ExecutionModeLocalSize].push(OperandLiteralNumber, "'x size'"); in Parameterize() 1687 ExecutionModeOperands[ExecutionModeLocalSize].push(OperandLiteralNumber, "'y size'"); in Parameterize() 1688 ExecutionModeOperands[ExecutionModeLocalSize].push(OperandLiteralNumber, "'z size'"); in Parameterize() 1690 ExecutionModeOperands[ExecutionModeLocalSizeHint].push(OperandLiteralNumber, "'x size'"); in Parameterize() 1691 ExecutionModeOperands[ExecutionModeLocalSizeHint].push(OperandLiteralNumber, "'y size'"); in Parameterize() 1692 ExecutionModeOperands[ExecutionModeLocalSizeHint].push(OperandLiteralNumber, "'z size'"); in Parameterize() 1694 ExecutionModeOperands[ExecutionModeOutputVertices].push(OperandLiteralNumber, "'Vertex count'"); in Parameterize() 1695 ExecutionModeOperands[ExecutionModeVecTypeHint].push(OperandLiteralNumber, "'Vector type'"); in Parameterize() 1697 DecorationOperands[DecorationStream].push(OperandLiteralNumbe in Parameterize() [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
H A D | nvc0_compute.c | 31 struct nouveau_pushbuf *push) in nvc0_screen_compute_setup() 58 BEGIN_NVC0(push, SUBC_CP(NV01_SUBCHAN_OBJECT), 1); in nvc0_screen_compute_setup() 59 PUSH_DATA (push, screen->compute->oclass); in nvc0_screen_compute_setup() 62 BEGIN_NVC0(push, NVC0_CP(MP_LIMIT), 1); in nvc0_screen_compute_setup() 63 PUSH_DATA (push, screen->mp_count); in nvc0_screen_compute_setup() 64 BEGIN_NVC0(push, NVC0_CP(CALL_LIMIT_LOG), 1); in nvc0_screen_compute_setup() 65 PUSH_DATA (push, 0xf); in nvc0_screen_compute_setup() 67 BEGIN_NVC0(push, SUBC_CP(0x02a0), 1); in nvc0_screen_compute_setup() 68 PUSH_DATA (push, 0x8000); in nvc0_screen_compute_setup() 71 BEGIN_NVC0(push, SUBC_C in nvc0_screen_compute_setup() 30 nvc0_screen_compute_setup(struct nvc0_screen *screen, struct nouveau_pushbuf *push) nvc0_screen_compute_setup() argument 192 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_compute_validate_constbufs() local 251 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_compute_validate_driverconst() local 267 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_compute_validate_buffers() local 319 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_compute_invalidate_surfaces() local 386 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_compute_upload_input() local 427 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_launch_grid() local 510 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_compute_update_indirect_invocations() local [all...] |
H A D | nve4_compute.c | 45 struct nouveau_pushbuf *push) in nve4_screen_compute_setup() 90 BEGIN_NVC0(push, SUBC_CP(NV01_SUBCHAN_OBJECT), 1); in nve4_screen_compute_setup() 91 PUSH_DATA (push, screen->compute->oclass); in nve4_screen_compute_setup() 93 BEGIN_NVC0(push, NVE4_CP(TEMP_ADDRESS_HIGH), 2); in nve4_screen_compute_setup() 94 PUSH_DATAh(push, screen->tls->offset); in nve4_screen_compute_setup() 95 PUSH_DATA (push, screen->tls->offset); in nve4_screen_compute_setup() 100 BEGIN_NVC0(push, NVE4_CP(MP_TEMP_SIZE_HIGH(0)), 3); in nve4_screen_compute_setup() 101 PUSH_DATAh(push, screen->tls->size / screen->mp_count); in nve4_screen_compute_setup() 102 PUSH_DATA (push, (screen->tls->size / screen->mp_count) & ~0x7fff); in nve4_screen_compute_setup() 103 PUSH_DATA (push, in nve4_screen_compute_setup() 44 nve4_screen_compute_setup(struct nvc0_screen *screen, struct nouveau_pushbuf *push) nve4_screen_compute_setup() argument 224 struct nouveau_pushbuf *push = nvc0->base.pushbuf; gm107_compute_validate_surfaces() local 285 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nve4_compute_validate_surfaces() local 354 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nve4_compute_set_tex_handles() local 389 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nve4_compute_validate_constbufs() local 450 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nve4_compute_validate_buffers() local 520 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nve4_compute_upload_input() local 821 nve4_upload_indirect_desc(struct nouveau_pushbuf *push, struct nv04_resource *res, uint64_t gpuaddr, uint32_t length, uint32_t bo_offset) nve4_upload_indirect_desc() argument 846 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nve4_launch_grid() local 952 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nve4_compute_validate_textures() local [all...] |
H A D | nvc0_vbo.c | 174 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_set_constant_vertex_attrib() local 185 PUSH_SPACE(push, 6); in nvc0_set_constant_vertex_attrib() 186 BEGIN_NVC0(push, NVC0_3D(VTX_ATTR_DEFINE), 5); in nvc0_set_constant_vertex_attrib() 187 dst = &push->cur[1]; in nvc0_set_constant_vertex_attrib() 198 push->cur[0] = mode; in nvc0_set_constant_vertex_attrib() 199 push->cur += 5; in nvc0_set_constant_vertex_attrib() 233 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_update_user_vbufs() local 237 PUSH_SPACE(push, nvc0->vertex->num_elements * 8); in nvc0_update_user_vbufs() 264 BEGIN_1IC0(push, NVC0_3D(MACRO_VERTEX_ARRAY_SELECT), 5); in nvc0_update_user_vbufs() 265 PUSH_DATA (push, in nvc0_update_user_vbufs() 277 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_update_user_vbufs_shared() local 317 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_validate_vertex_buffers() local 384 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_validate_vertex_buffers_shared() local 437 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_vertex_arrays_validate() local 560 nvc0_draw_vbo_kick_notify(struct nouveau_pushbuf *push) nvc0_draw_vbo_kick_notify() argument 574 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_draw_arrays() local 603 nvc0_draw_elements_inline_u08(struct nouveau_pushbuf *push, const uint8_t *map, unsigned start, unsigned count) nvc0_draw_elements_inline_u08() argument 631 nvc0_draw_elements_inline_u16(struct nouveau_pushbuf *push, const uint16_t *map, unsigned start, unsigned count) nvc0_draw_elements_inline_u16() argument 656 nvc0_draw_elements_inline_u32(struct nouveau_pushbuf *push, const uint32_t *map, unsigned start, unsigned count) nvc0_draw_elements_inline_u32() argument 674 nvc0_draw_elements_inline_u32_short(struct nouveau_pushbuf *push, const uint32_t *map, unsigned start, unsigned count) nvc0_draw_elements_inline_u32_short() argument 706 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_draw_elements() local 773 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_draw_stream_output() local 811 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_draw_indirect() local 908 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_update_prim_restart() local 942 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_draw_vbo() local [all...] |
H A D | nvc0_state_validate.c | 12 struct nouveau_pushbuf *push = nvc0->base.pushbuf; 32 BEGIN_NVC0(push, NVC0_3D(ZCULL_REGION), 1); 33 PUSH_DATA (push, 0); 34 BEGIN_NVC0(push, NVC0_3D(ZCULL_ADDRESS_HIGH), 2); 35 PUSH_DATAh(push, bo->offset + offset); 36 PUSH_DATA (push, bo->offset + offset); 38 BEGIN_NVC0(push, NVC0_3D(ZCULL_LIMIT_HIGH), 2); 39 PUSH_DATAh(push, bo->offset + offset); 40 PUSH_DATA (push, bo->offset + offset); 41 BEGIN_NVC0(push, SUBC_3 60 nvc0_fb_set_null_rt(struct nouveau_pushbuf *push, unsigned i, unsigned layers) nvc0_fb_set_null_rt() argument 91 struct nouveau_pushbuf *push = nvc0->base.pushbuf; gm200_validate_sample_locations() local 165 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_validate_sample_locations() local 197 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_validate_fb() local 328 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_validate_blend_colour() local 340 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_validate_stencil_ref() local 350 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_validate_stipple() local 362 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_validate_scissor() local 393 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_validate_viewport() local 450 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_validate_window_rects() local 474 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_upload_uclip_planes() local 509 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_validate_clip() local 550 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_validate_blend() local 559 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_validate_zsa() local 568 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_validate_rasterizer() local 636 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_validate_buffers() local 674 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_validate_sample_mask() local 694 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_validate_min_samples() local 729 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_validate_fp_zsa_rast() local 754 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_validate_zsa_fb() local 768 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_validate_rast_fb() local 788 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_validate_tess_state() local 803 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_validate_fbread() local [all...] |
H A D | nvc0_query_hw.c | 69 nvc0_hw_query_get(struct nouveau_pushbuf *push, struct nvc0_query *q, in nvc0_hw_query_get() argument 76 PUSH_SPACE(push, 5); in nvc0_hw_query_get() 77 PUSH_REFN (push, hq->bo, NOUVEAU_BO_GART | NOUVEAU_BO_WR); in nvc0_hw_query_get() 78 BEGIN_NVC0(push, NVC0_3D(QUERY_ADDRESS_HIGH), 4); in nvc0_hw_query_get() 79 PUSH_DATAh(push, hq->bo->offset + offset); in nvc0_hw_query_get() 80 PUSH_DATA (push, hq->bo->offset + offset); in nvc0_hw_query_get() 81 PUSH_DATA (push, hq->sequence); in nvc0_hw_query_get() 82 PUSH_DATA (push, get); in nvc0_hw_query_get() 130 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_hw_query_write_compute_invocations() local 132 nouveau_pushbuf_space(push, 1 in nvc0_hw_query_write_compute_invocations() 144 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_hw_begin_query() local 229 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_hw_end_query() local 396 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_hw_get_query_result_resource() local 627 nvc0_hw_query_pushbuf_submit(struct nouveau_pushbuf *push, struct nvc0_query *q, unsigned result_offset) nvc0_hw_query_pushbuf_submit() argument 640 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_hw_query_fifo_wait() local [all...] |
H A D | nvc0_transfer.c | 20 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_m2mf_transfer_rect() local 34 nouveau_pushbuf_bufctx(push, bctx); in nvc0_m2mf_transfer_rect() 35 nouveau_pushbuf_validate(push); in nvc0_m2mf_transfer_rect() 38 BEGIN_NVC0(push, NVC0_M2MF(TILING_MODE_IN), 5); in nvc0_m2mf_transfer_rect() 39 PUSH_DATA (push, src->tile_mode); in nvc0_m2mf_transfer_rect() 40 PUSH_DATA (push, src->width * cpp); in nvc0_m2mf_transfer_rect() 41 PUSH_DATA (push, src->height); in nvc0_m2mf_transfer_rect() 42 PUSH_DATA (push, src->depth); in nvc0_m2mf_transfer_rect() 43 PUSH_DATA (push, src->z); in nvc0_m2mf_transfer_rect() 47 BEGIN_NVC0(push, NVC0_M2M in nvc0_m2mf_transfer_rect() 129 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nve4_m2mf_transfer_rect() local 204 struct nouveau_pushbuf *push = nv->pushbuf; nvc0_m2mf_push_linear() local 246 struct nouveau_pushbuf *push = nv->pushbuf; nve4_p2mf_push_linear() local 286 struct nouveau_pushbuf *push = nv->pushbuf; nvc0_m2mf_copy_linear() local 324 struct nouveau_pushbuf *push = nv->pushbuf; nve4_m2mf_copy_linear() local 581 struct nouveau_pushbuf *push = nv->pushbuf; nvc0_cb_bo_push() local [all...] |
H A D | nvc0_screen.c | 757 struct nouveau_pushbuf *push = screen->base.pushbuf; in nvc0_graph_set_macro() local 763 BEGIN_NVC0(push, SUBC_3D(NVC0_GRAPH_MACRO_ID), 2); in nvc0_graph_set_macro() 764 PUSH_DATA (push, (m - 0x3800) / 8); in nvc0_graph_set_macro() 765 PUSH_DATA (push, pos); in nvc0_graph_set_macro() 766 BEGIN_1IC0(push, SUBC_3D(NVC0_GRAPH_MACRO_UPLOAD_POS), size + 1); in nvc0_graph_set_macro() 767 PUSH_DATA (push, pos); in nvc0_graph_set_macro() 768 PUSH_DATAp(push, data, size); in nvc0_graph_set_macro() 777 struct nouveau_pushbuf *push = screen->base.pushbuf; in tu102_graph_set_macro() local 783 BEGIN_NVC0(push, SUBC_3D(NVC0_GRAPH_MACRO_ID), 2); in tu102_graph_set_macro() 784 PUSH_DATA (push, ( in tu102_graph_set_macro() 794 nvc0_magic_3d_init(struct nouveau_pushbuf *push, uint16_t obj_class) nvc0_magic_3d_init() argument 866 struct nouveau_pushbuf *push = screen->base.pushbuf; nvc0_screen_fence_emit() local 948 struct nouveau_pushbuf *push = screen->base.pushbuf; nvc0_screen_resize_text_area() local 995 struct nouveau_pushbuf *push = screen->base.pushbuf; nvc0_screen_bind_cb_3d() local 1047 struct nouveau_pushbuf *push; nvc0_screen_create() local [all...] |
H A D | nvc0_shader_state.c | 72 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_program_sp_start_id() local 75 BEGIN_NVC0(push, NVC0_3D(SP_START_ID(stage)), 1); in nvc0_program_sp_start_id() 76 PUSH_DATA (push, prog->code_base); in nvc0_program_sp_start_id() 78 BEGIN_NVC0(push, SUBC_3D(GV100_3D_SP_ADDRESS_HIGH(stage)), 2); in nvc0_program_sp_start_id() 79 PUSH_DATAh(push, nvc0->screen->text->offset + prog->code_base); in nvc0_program_sp_start_id() 80 PUSH_DATA (push, nvc0->screen->text->offset + prog->code_base); in nvc0_program_sp_start_id() 87 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_vertprog_validate() local 94 BEGIN_NVC0(push, NVC0_3D(SP_SELECT(1)), 1); in nvc0_vertprog_validate() 95 PUSH_DATA (push, 0x11); in nvc0_vertprog_validate() 97 BEGIN_NVC0(push, NVC0_3 in nvc0_vertprog_validate() 107 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_fragprog_validate() local 198 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_tctlprog_validate() local 226 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_tevlprog_validate() local 249 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_gmtyprog_validate() local 269 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_compprog_validate() local 282 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_layer_validate() local 310 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_tfb_validate() local [all...] |
H A D | nvc0_surface.c | 86 nvc0_2d_texture_set(struct nouveau_pushbuf *push, bool dst, in nvc0_2d_texture_set() argument 120 BEGIN_NVC0(push, SUBC_2D(mthd), 2); in nvc0_2d_texture_set() 121 PUSH_DATA (push, format); in nvc0_2d_texture_set() 122 PUSH_DATA (push, 1); in nvc0_2d_texture_set() 123 BEGIN_NVC0(push, SUBC_2D(mthd + 0x14), 5); in nvc0_2d_texture_set() 124 PUSH_DATA (push, mt->level[level].pitch); in nvc0_2d_texture_set() 125 PUSH_DATA (push, width); in nvc0_2d_texture_set() 126 PUSH_DATA (push, height); in nvc0_2d_texture_set() 127 PUSH_DATAh(push, bo->offset + offset); in nvc0_2d_texture_set() 128 PUSH_DATA (push, b in nvc0_2d_texture_set() 161 nvc0_2d_texture_do_copy(struct nouveau_pushbuf *push, struct nv50_miptree *dst, unsigned dst_level, unsigned dx, unsigned dy, unsigned dz, struct nv50_miptree *src, unsigned src_level, unsigned sx, unsigned sy, unsigned sz, unsigned w, unsigned h) nvc0_2d_texture_do_copy() argument 294 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_clear_render_target() local 376 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_clear_buffer_push_nvc0() local 425 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_clear_buffer_push_nve4() local 499 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_clear_buffer() local 630 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_clear_depth_stencil() local 698 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_clear() local 790 struct nouveau_pushbuf *push = nvc0->base.pushbuf; gm200_evaluate_depth_buffer() local 1009 struct nouveau_pushbuf *push = blit->nvc0->base.pushbuf; nvc0_blitctx_prepare_state() local 1200 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_blit_3d() local 1430 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_blit_eng2d() local 1609 struct nouveau_pushbuf *push = nvc0->base.pushbuf; nvc0_blit() local [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
H A D | nv30_transfer.c | 90 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_transfer_rect_vertprog() local 92 BEGIN_NV04(push, NV30_3D(VP_UPLOAD_FROM_ID), 1); in nv30_transfer_rect_vertprog() 93 PUSH_DATA (push, vp->start); in nv30_transfer_rect_vertprog() 94 BEGIN_NV04(push, NV30_3D(VP_UPLOAD_INST(0)), 4); in nv30_transfer_rect_vertprog() 95 PUSH_DATA (push, 0x401f9c6c); /* mov o[hpos], a[0]; */ in nv30_transfer_rect_vertprog() 96 PUSH_DATA (push, 0x0040000d); in nv30_transfer_rect_vertprog() 97 PUSH_DATA (push, 0x8106c083); in nv30_transfer_rect_vertprog() 98 PUSH_DATA (push, 0x6041ff80); in nv30_transfer_rect_vertprog() 99 BEGIN_NV04(push, NV30_3D(VP_UPLOAD_INST(0)), 4); in nv30_transfer_rect_vertprog() 100 PUSH_DATA (push, in nv30_transfer_rect_vertprog() 149 struct nouveau_pushbuf *push = nv30->base.pushbuf; nv30_transfer_rect_blit() local 401 struct nouveau_pushbuf *push = nv30->base.pushbuf; nv30_transfer_rect_sifm() local 498 struct nouveau_pushbuf *push = nv30->base.pushbuf; nv30_transfer_rect_m2mf() local 697 struct nouveau_pushbuf *push = nv->pushbuf; nv30_transfer_copy_data() local [all...] |
H A D | nv30_state_validate.c | 40 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_validate_fb() local 100 if (!PUSH_SPACE(push, 64)) in nv30_validate_fb() 102 PUSH_RESET(push, BUFCTX_FB); in nv30_validate_fb() 104 BEGIN_NV04(push, SUBC_3D(0x1da4), 1); in nv30_validate_fb() 105 PUSH_DATA (push, 0); in nv30_validate_fb() 106 BEGIN_NV04(push, NV30_3D(RT_HORIZ), 3); in nv30_validate_fb() 107 PUSH_DATA (push, w << 16); in nv30_validate_fb() 108 PUSH_DATA (push, h << 16); in nv30_validate_fb() 109 PUSH_DATA (push, rt_format); in nv30_validate_fb() 110 BEGIN_NV04(push, NV30_3 in nv30_validate_fb() 177 struct nouveau_pushbuf *push = nv30->base.pushbuf; nv30_validate_blend_colour() local 206 struct nouveau_pushbuf *push = nv30->base.pushbuf; nv30_validate_stencil_ref() local 217 struct nouveau_pushbuf *push = nv30->base.pushbuf; nv30_validate_stipple() local 226 struct nouveau_pushbuf *push = nv30->base.pushbuf; nv30_validate_scissor() local 248 struct nouveau_pushbuf *push = nv30->base.pushbuf; nv30_validate_viewport() local 277 struct nouveau_pushbuf *push = nv30->base.pushbuf; nv30_validate_clip() local 298 struct nouveau_pushbuf *push = nv30->base.pushbuf; nv30_validate_blend() local 307 struct nouveau_pushbuf *push = nv30->base.pushbuf; nv30_validate_zsa() local 316 struct nouveau_pushbuf *push = nv30->base.pushbuf; nv30_validate_rasterizer() local 327 struct nouveau_pushbuf *push = nv30->base.pushbuf; nv30_validate_multisample() local 344 struct nouveau_pushbuf *push = nv30->base.pushbuf; nv30_validate_fragment() local 357 struct nouveau_pushbuf *push = nv30->base.pushbuf; nv30_validate_point_coord() local 467 struct nouveau_pushbuf *push = nv30->base.pushbuf; nv30_state_validate() local [all...] |
H A D | nv30_clear.c | 57 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_clear() local 70 BEGIN_NV04(push, NV30_3D(SCISSOR_HORIZ), 2); in nv30_clear() 71 PUSH_DATA (push, minx | (maxx - minx) << 16); in nv30_clear() 72 PUSH_DATA (push, miny | (maxy - miny) << 16); in nv30_clear() 75 BEGIN_NV04(push, NV30_3D(SCISSOR_HORIZ), 2); in nv30_clear() 76 PUSH_DATA (push, 0x10000000); in nv30_clear() 77 PUSH_DATA (push, 0x10000000); in nv30_clear() 94 BEGIN_NV04(push, NV30_3D(STENCIL_ENABLE(0)), 2); in nv30_clear() 95 PUSH_DATA (push, 0); in nv30_clear() 96 PUSH_DATA (push, in nv30_clear() 130 struct nouveau_pushbuf *push = nv30->base.pushbuf; nv30_clear_render_target() local 191 struct nouveau_pushbuf *push = nv30->base.pushbuf; nv30_clear_depth_stencil() local [all...] |
H A D | nv30_push.c | 38 struct nouveau_pushbuf *push; member 56 prim_restart_search_i08(uint8_t *elts, unsigned push, uint8_t index) in prim_restart_search_i08() argument 59 for (i = 0; i < push; ++i) in prim_restart_search_i08() 66 prim_restart_search_i16(uint16_t *elts, unsigned push, uint16_t index) in prim_restart_search_i16() argument 69 for (i = 0; i < push; ++i) in prim_restart_search_i16() 76 prim_restart_search_i32(uint32_t *elts, unsigned push, uint32_t index) in prim_restart_search_i32() argument 79 for (i = 0; i < push; ++i) in prim_restart_search_i32() 91 unsigned push = MIN2(count, ctx->packet_vertex_limit); in emit_vertices_i08() local 94 nr = push; in emit_vertices_i08() 96 nr = prim_restart_search_i08(elts, push, ct in emit_vertices_i08() 123 unsigned push = MIN2(count, ctx->packet_vertex_limit); emit_vertices_i16() local 155 unsigned push = MIN2(count, ctx->packet_vertex_limit); emit_vertices_i32() local 185 unsigned push = MIN2(count, ctx->packet_vertex_limit); emit_vertices_seq() local [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | controlFlowArrays.js | 14 x.push(5); 15 x.push("hello"); 16 x.push(true); 23 x.push(5, "hello"); 30 x.push(5); 33 x.push("hello"); 42 x.push(5); 46 x.push("hello"); 58 x.push("hello"); 68 x.push("hell [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_compute.c | 35 struct nouveau_pushbuf *push) in nv50_screen_compute_setup() 71 BEGIN_NV04(push, SUBC_CP(NV01_SUBCHAN_OBJECT), 1); in nv50_screen_compute_setup() 72 PUSH_DATA (push, screen->compute->handle); in nv50_screen_compute_setup() 74 BEGIN_NV04(push, NV50_CP(UNK02A0), 1); in nv50_screen_compute_setup() 75 PUSH_DATA (push, 1); in nv50_screen_compute_setup() 76 BEGIN_NV04(push, NV50_CP(DMA_STACK), 1); in nv50_screen_compute_setup() 77 PUSH_DATA (push, fifo->vram); in nv50_screen_compute_setup() 78 BEGIN_NV04(push, NV50_CP(STACK_ADDRESS_HIGH), 2); in nv50_screen_compute_setup() 79 PUSH_DATAh(push, screen->stack_bo->offset); in nv50_screen_compute_setup() 80 PUSH_DATA (push, scree in nv50_screen_compute_setup() 34 nv50_screen_compute_setup(struct nv50_screen *screen, struct nouveau_pushbuf *push) nv50_screen_compute_setup() argument 211 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_compute_validate_constbufs() local 327 nv50_set_surface_info(struct nouveau_pushbuf *push, const struct pipe_image_view *view, int width, int height, int depth) nv50_set_surface_info() argument 376 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_compute_validate_surfaces() local 529 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_compute_upload_input() local 565 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_launch_grid() local [all...] |
H A D | nv50_transfer.c | 63 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_2d_transfer_rect() local 69 nouveau_pushbuf_bufctx(push, bctx); in nv50_2d_transfer_rect() 70 nouveau_pushbuf_validate(push); in nv50_2d_transfer_rect() 95 BEGIN_NV04(push, NV50_2D(SRC_FORMAT), 5); in nv50_2d_transfer_rect() 96 PUSH_DATA (push, format); in nv50_2d_transfer_rect() 97 PUSH_DATA (push, 0); in nv50_2d_transfer_rect() 98 PUSH_DATA (push, src->tile_mode); in nv50_2d_transfer_rect() 99 PUSH_DATA (push, src->depth); in nv50_2d_transfer_rect() 100 PUSH_DATA (push, src->z); in nv50_2d_transfer_rect() 101 BEGIN_NV04(push, NV50_2 in nv50_2d_transfer_rect() 169 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_m2mf_transfer_rect() local 280 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_sifc_linear_u8() local 334 struct nouveau_pushbuf *push = nv->pushbuf; nv50_m2mf_copy_linear() local 506 struct nouveau_pushbuf *push = nv->pushbuf; nv50_cb_bo_push() local [all...] |
H A D | nv50_surface.c | 82 nv50_2d_texture_set(struct nouveau_pushbuf *push, int dst, in nv50_2d_texture_set() argument 115 BEGIN_NV04(push, SUBC_2D(mthd), 2); in nv50_2d_texture_set() 116 PUSH_DATA (push, format); in nv50_2d_texture_set() 117 PUSH_DATA (push, 1); in nv50_2d_texture_set() 118 BEGIN_NV04(push, SUBC_2D(mthd + 0x14), 5); in nv50_2d_texture_set() 119 PUSH_DATA (push, mt->level[level].pitch); in nv50_2d_texture_set() 120 PUSH_DATA (push, width); in nv50_2d_texture_set() 121 PUSH_DATA (push, height); in nv50_2d_texture_set() 122 PUSH_DATAh(push, mt->base.address + offset); in nv50_2d_texture_set() 123 PUSH_DATA (push, m in nv50_2d_texture_set() 151 nv50_2d_texture_do_copy(struct nouveau_pushbuf *push, struct nv50_miptree *dst, unsigned dst_level, unsigned dx, unsigned dy, unsigned dz, struct nv50_miptree *src, unsigned src_level, unsigned sx, unsigned sy, unsigned sz, unsigned w, unsigned h) nv50_2d_texture_do_copy() argument 284 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_clear_render_target() local 375 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_clear_depth_stencil() local 532 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_clear() local 634 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_clear_buffer_push() local 707 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_clear_buffer() local 1199 struct nouveau_pushbuf *push = blit->nv50->base.pushbuf; nv50_blitctx_prepare_state() local 1374 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_blit_3d() local 1523 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_blit_eng2d() local 1704 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_blit() local [all...] |
H A D | nv50_screen.c | 666 struct nouveau_pushbuf *push = screen->base.pushbuf; in nv50_screen_fence_emit() local 671 assert(PUSH_AVAIL(push) + push->rsvd_kick >= 5); in nv50_screen_fence_emit() 672 PUSH_DATA (push, NV50_FIFO_PKHDR(NV50_3D(QUERY_ADDRESS_HIGH), 4)); in nv50_screen_fence_emit() 673 PUSH_DATAh(push, screen->fence.bo->offset); in nv50_screen_fence_emit() 674 PUSH_DATA (push, screen->fence.bo->offset); in nv50_screen_fence_emit() 675 PUSH_DATA (push, *sequence); in nv50_screen_fence_emit() 676 PUSH_DATA (push, NV50_3D_QUERY_GET_MODE_WRITE_UNK0 | in nv50_screen_fence_emit() 693 struct nouveau_pushbuf *push = screen->base.pushbuf; in nv50_screen_init_hwctx() local 699 BEGIN_NV04(push, SUBC_M2M in nv50_screen_init_hwctx() 963 struct nouveau_pushbuf *push = screen->base.pushbuf; nv50_tls_realloc() local [all...] |
H A D | nv50_shader_state.c | 37 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_constbufs_validate() local 67 BEGIN_NV04(push, NV50_3D(SET_PROGRAM_CB), 1); in nv50_constbufs_validate() 68 PUSH_DATA (push, (b << 12) | (i << 8) | p | 1); in nv50_constbufs_validate() 73 PUSH_SPACE(push, nr + 3); in nv50_constbufs_validate() 74 BEGIN_NV04(push, NV50_3D(CB_ADDR), 1); in nv50_constbufs_validate() 75 PUSH_DATA (push, (start << 8) | b); in nv50_constbufs_validate() 76 BEGIN_NI04(push, NV50_3D(CB_DATA(0)), nr); in nv50_constbufs_validate() 77 PUSH_DATAp(push, &nv50->constbuf[s][0].u.data[start * 4], nr); in nv50_constbufs_validate() 91 BEGIN_NV04(push, NV50_3D(CB_DEF_ADDRESS_HIGH), 3); in nv50_constbufs_validate() 92 PUSH_DATAh(push, re in nv50_constbufs_validate() 157 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_vertprog_validate() local 178 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_fragprog_validate() local 265 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_gmtyprog_validate() local 292 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_compprog_validate() local 305 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_sprite_coords_validate() local 362 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_validate_derived_rs() local 427 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_fp_linkage_validate() local 637 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_gp_linkage_validate() local 665 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_stream_output_validate() local [all...] |
H A D | nv50_state_validate.c | 7 nv50_fb_set_null_rt(struct nouveau_pushbuf *push, unsigned i) in nv50_fb_set_null_rt() argument 9 BEGIN_NV04(push, NV50_3D(RT_ADDRESS_HIGH(i)), 4); in nv50_fb_set_null_rt() 10 PUSH_DATA (push, 0); in nv50_fb_set_null_rt() 11 PUSH_DATA (push, 0); in nv50_fb_set_null_rt() 12 PUSH_DATA (push, 0); in nv50_fb_set_null_rt() 13 PUSH_DATA (push, 0); in nv50_fb_set_null_rt() 14 BEGIN_NV04(push, NV50_3D(RT_HORIZ(i)), 2); in nv50_fb_set_null_rt() 15 PUSH_DATA (push, 64); in nv50_fb_set_null_rt() 16 PUSH_DATA (push, 0); in nv50_fb_set_null_rt() 22 struct nouveau_pushbuf *push in nv50_validate_fb() local 152 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_validate_blend_colour() local 164 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_validate_stencil_ref() local 175 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_validate_stipple() local 186 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_validate_scissor() local 250 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_validate_viewport() local 289 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_validate_window_rects() local 340 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_validate_derived_2() local 353 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_validate_clip() local 387 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_validate_blend() local 396 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_validate_zsa() local 405 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_validate_rasterizer() local 414 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_validate_sample_mask() local 434 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_validate_min_samples() local [all...] |
H A D | nv50_vbo.c | 145 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_emit_vtxattr() local 156 BEGIN_NV04(push, NV50_3D(VTX_ATTR_4F_X(attr)), 4); in nv50_emit_vtxattr() 157 PUSH_DATAf(push, v[0]); in nv50_emit_vtxattr() 158 PUSH_DATAf(push, v[1]); in nv50_emit_vtxattr() 159 PUSH_DATAf(push, v[2]); in nv50_emit_vtxattr() 160 PUSH_DATAf(push, v[3]); in nv50_emit_vtxattr() 163 BEGIN_NV04(push, NV50_3D(VTX_ATTR_3F_X(attr)), 3); in nv50_emit_vtxattr() 164 PUSH_DATAf(push, v[0]); in nv50_emit_vtxattr() 165 PUSH_DATAf(push, v[1]); in nv50_emit_vtxattr() 166 PUSH_DATAf(push, in nv50_emit_vtxattr() 236 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_update_user_vbufs() local 292 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_vertex_arrays_validate() local 471 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_draw_arrays() local 500 nv50_draw_elements_inline_u08(struct nouveau_pushbuf *push, const uint8_t *map, unsigned start, unsigned count) nv50_draw_elements_inline_u08() argument 526 nv50_draw_elements_inline_u16(struct nouveau_pushbuf *push, const uint16_t *map, unsigned start, unsigned count) nv50_draw_elements_inline_u16() argument 549 nv50_draw_elements_inline_u32(struct nouveau_pushbuf *push, const uint32_t *map, unsigned start, unsigned count) nv50_draw_elements_inline_u32() argument 566 nv50_draw_elements_inline_u32_short(struct nouveau_pushbuf *push, const uint32_t *map, unsigned start, unsigned count) nv50_draw_elements_inline_u32_short() argument 596 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_draw_elements() local 708 struct nouveau_pushbuf *push = nv50->base.pushbuf; nva0_draw_stream_output() local 783 struct nouveau_pushbuf *push = nv50->base.pushbuf; nv50_draw_vbo() local [all...] |
/third_party/skia/tests/ |
H A D | InsetConvexPolyTest.cpp | 14 *rrectPoly.push() = SkPoint::Make(-100, 55); in DEF_TEST() 15 *rrectPoly.push() = SkPoint::Make(100, 55); in DEF_TEST() 16 *rrectPoly.push() = SkPoint::Make(100 + 2.5f, 50 + 4.330127f); in DEF_TEST() 17 *rrectPoly.push() = SkPoint::Make(100 + 3.535534f, 50 + 3.535534f); in DEF_TEST() 18 *rrectPoly.push() = SkPoint::Make(100 + 4.330127f, 50 + 2.5f); in DEF_TEST() 19 *rrectPoly.push() = SkPoint::Make(105, 50); in DEF_TEST() 20 *rrectPoly.push() = SkPoint::Make(105, -50); in DEF_TEST() 21 *rrectPoly.push() = SkPoint::Make(100 + 4.330127f, -50 - 2.5f); in DEF_TEST() 22 *rrectPoly.push() = SkPoint::Make(100 + 3.535534f, -50 - 3.535534f); in DEF_TEST() 23 *rrectPoly.push() in DEF_TEST() [all...] |
H A D | OffsetSimplePolyTest.cpp | 17 *rrectPoly.push() = SkPoint::Make(-100, 55); in DEF_TEST() 18 *rrectPoly.push() = SkPoint::Make(100, 55); in DEF_TEST() 19 *rrectPoly.push() = SkPoint::Make(100 + 2.5f, 50 + 4.330127f); in DEF_TEST() 20 *rrectPoly.push() = SkPoint::Make(100 + 3.535534f, 50 + 3.535534f); in DEF_TEST() 21 *rrectPoly.push() = SkPoint::Make(100 + 4.330127f, 50 + 2.5f); in DEF_TEST() 22 *rrectPoly.push() = SkPoint::Make(105, 50); in DEF_TEST() 23 *rrectPoly.push() = SkPoint::Make(105, -50); in DEF_TEST() 24 *rrectPoly.push() = SkPoint::Make(100 + 4.330127f, -50 - 2.5f); in DEF_TEST() 25 *rrectPoly.push() = SkPoint::Make(100 + 3.535534f, -50 - 3.535534f); in DEF_TEST() 26 *rrectPoly.push() in DEF_TEST() [all...] |
/third_party/libdrm/nouveau/ |
H A D | pushbuf.c | 46 struct drm_nouveau_gem_pushbuf_push push[NOUVEAU_GEM_MAX_PUSH]; member 71 nouveau_pushbuf(struct nouveau_pushbuf *push) in nouveau_pushbuf() argument 73 return (struct nouveau_pushbuf_priv *)push; in nouveau_pushbuf() 80 pushbuf_kref_fits(struct nouveau_pushbuf *push, struct nouveau_bo *bo, in pushbuf_kref_fits() argument 83 struct nouveau_pushbuf_priv *nvpb = nouveau_pushbuf(push); in pushbuf_kref_fits() 85 struct nouveau_device *dev = push->client->device; in pushbuf_kref_fits() 148 pushbuf_kref(struct nouveau_pushbuf *push, struct nouveau_bo *bo, in pushbuf_kref() argument 151 struct nouveau_device *dev = push->client->device; in pushbuf_kref() 152 struct nouveau_pushbuf_priv *nvpb = nouveau_pushbuf(push); in pushbuf_kref() 170 fpush = cli_push_get(push in pushbuf_kref() 220 pushbuf_krel(struct nouveau_pushbuf *push, struct nouveau_bo *bo, uint32_t data, uint32_t flags, uint32_t vor, uint32_t tor) pushbuf_krel() argument 311 pushbuf_submit(struct nouveau_pushbuf *push, struct nouveau_object *chan) pushbuf_submit() argument 398 pushbuf_flush(struct nouveau_pushbuf *push) pushbuf_flush() argument 440 pushbuf_refn_fail(struct nouveau_pushbuf *push, int sref, int srel) pushbuf_refn_fail() argument 458 pushbuf_refn(struct nouveau_pushbuf *push, bool retry, struct nouveau_pushbuf_refn *refs, int nr) pushbuf_refn() argument 488 pushbuf_validate(struct nouveau_pushbuf *push, bool retry) pushbuf_validate() argument 546 struct nouveau_pushbuf *push; nouveau_pushbuf_new() local 636 nouveau_pushbuf_bufctx(struct nouveau_pushbuf *push, struct nouveau_bufctx *ctx) nouveau_pushbuf_bufctx() argument 644 nouveau_pushbuf_space(struct nouveau_pushbuf *push, uint32_t dwords, uint32_t relocs, uint32_t pushes) nouveau_pushbuf_space() argument 708 nouveau_pushbuf_data(struct nouveau_pushbuf *push, struct nouveau_bo *bo, uint64_t offset, uint64_t length) nouveau_pushbuf_data() argument 739 nouveau_pushbuf_refn(struct nouveau_pushbuf *push, struct nouveau_pushbuf_refn *refs, int nr) nouveau_pushbuf_refn() argument 746 nouveau_pushbuf_reloc(struct nouveau_pushbuf *push, struct nouveau_bo *bo, uint32_t data, uint32_t flags, uint32_t vor, uint32_t tor) nouveau_pushbuf_reloc() argument 754 nouveau_pushbuf_validate(struct nouveau_pushbuf *push) nouveau_pushbuf_validate() argument 760 nouveau_pushbuf_refd(struct nouveau_pushbuf *push, struct nouveau_bo *bo) nouveau_pushbuf_refd() argument 778 nouveau_pushbuf_kick(struct nouveau_pushbuf *push, struct nouveau_object *chan) nouveau_pushbuf_kick() argument [all...] |