/external/mesa3d/src/intel/vulkan/ |
D | genX_gpu_memcpy.c | 92 dw = anv_batch_emitn(&cmd_buffer->batch, 5, GENX(3DSTATE_VERTEX_BUFFERS)); in genX() 93 GENX(VERTEX_BUFFER_STATE_pack)(&cmd_buffer->batch, dw + 1, in genX() 94 &(struct GENX(VERTEX_BUFFER_STATE)) { in genX() 100 .MemoryObjectControlState = GENX(MOCS), in genX() 103 .VertexBufferMemoryObjectControlState = GENX(MOCS), in genX() 108 dw = anv_batch_emitn(&cmd_buffer->batch, 3, GENX(3DSTATE_VERTEX_ELEMENTS)); in genX() 109 GENX(VERTEX_ELEMENT_STATE_pack)(&cmd_buffer->batch, dw + 1, in genX() 110 &(struct GENX(VERTEX_ELEMENT_STATE)) { in genX() 122 anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VF_SGVS), sgvs); in genX() 126 anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VS), vs); in genX() [all …]
|
D | gen8_cmd_buffer.c | 49 struct GENX(SF_CLIP_VIEWPORT) sf_clip_viewport = { in gen8_cmd_buffer_emit_viewport() 66 GENX(SF_CLIP_VIEWPORT_pack)(NULL, sf_clip_state.map + i * 64, in gen8_cmd_buffer_emit_viewport() 74 GENX(3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP), clip) { in gen8_cmd_buffer_emit_viewport() 91 struct GENX(CC_VIEWPORT) cc_viewport = { in gen8_cmd_buffer_emit_depth_viewport() 96 GENX(CC_VIEWPORT_pack)(NULL, cc_state.map + i * 8, &cc_viewport); in gen8_cmd_buffer_emit_depth_viewport() 103 GENX(3DSTATE_VIEWPORT_STATE_POINTERS_CC), cc) { in gen8_cmd_buffer_emit_depth_viewport() 112 uint32_t sf_dw[GENX(3DSTATE_SF_length)]; in __emit_genx_sf_state() 113 struct GENX(3DSTATE_SF) sf = { in __emit_genx_sf_state() 114 GENX(3DSTATE_SF_header), in __emit_genx_sf_state() 117 GENX(3DSTATE_SF_pack)(NULL, sf_dw, &sf); in __emit_genx_sf_state() [all …]
|
D | genX_state.c | 39 GENX(MEMORY_OBJECT_CONTROL_STATE_pack)(NULL, &device->default_mocs, in genX() 40 &GENX(MOCS)); in genX() 48 anv_batch_emit(&batch, GENX(PIPELINE_SELECT), ps) { in genX() 55 anv_batch_emit(&batch, GENX(3DSTATE_VF_STATISTICS), vfs) in genX() 58 anv_batch_emit(&batch, GENX(3DSTATE_AA_LINE_PARAMETERS), aa); in genX() 60 anv_batch_emit(&batch, GENX(3DSTATE_DRAWING_RECTANGLE), rect) { in genX() 70 anv_batch_emit(&batch, GENX(3DSTATE_WM_CHROMAKEY), ck); in genX() 75 anv_batch_emit(&batch, GENX(3DSTATE_SAMPLE_PATTERN), sp) { in genX() 86 anv_batch_emit(&batch, GENX(MI_BATCH_BUFFER_END), bbe); in genX() 171 struct GENX(SAMPLER_STATE) sampler_state = { in genX() [all …]
|
D | genX_cmd_buffer.c | 38 anv_batch_emit(batch, GENX(MI_LOAD_REGISTER_MEM), lrm) { in emit_lrm() 47 anv_batch_emit(batch, GENX(MI_LOAD_REGISTER_IMM), lri) { in emit_lri() 65 anv_batch_emit(&cmd_buffer->batch, GENX(PIPE_CONTROL), pc) { in genX() 71 anv_batch_emit(&cmd_buffer->batch, GENX(STATE_BASE_ADDRESS), sba) { in genX() 73 sba.GeneralStateMemoryObjectControlState = GENX(MOCS); in genX() 78 sba.SurfaceStateMemoryObjectControlState = GENX(MOCS); in genX() 83 sba.DynamicStateMemoryObjectControlState = GENX(MOCS); in genX() 87 sba.IndirectObjectMemoryObjectControlState = GENX(MOCS); in genX() 92 sba.InstructionMemoryObjectControlState = GENX(MOCS); in genX() 148 anv_batch_emit(&cmd_buffer->batch, GENX(PIPE_CONTROL), pc) { in genX() [all …]
|
D | gen7_cmd_buffer.c | 164 uint32_t sf_dw[GENX(3DSTATE_SF_length)]; in genX() 165 struct GENX(3DSTATE_SF) sf = { in genX() 166 GENX(3DSTATE_SF_header), in genX() 173 GENX(3DSTATE_SF_pack)(NULL, sf_dw, &sf); in genX() 183 GENX(COLOR_CALC_STATE_length) * 4, in genX() 185 struct GENX(COLOR_CALC_STATE) cc = { in genX() 193 GENX(COLOR_CALC_STATE_pack)(NULL, cc_state.map, &cc); in genX() 197 anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_CC_STATE_POINTERS), ccp) { in genX() 206 uint32_t depth_stencil_dw[GENX(DEPTH_STENCIL_STATE_length)]; in genX() 209 struct GENX(DEPTH_STENCIL_STATE) depth_stencil = { in genX() [all …]
|
D | genX_pipeline.c | 125 GENX(3DSTATE_VERTEX_ELEMENTS)); in emit_vertex_input() 146 struct GENX(VERTEX_ELEMENT_STATE) element = { in emit_vertex_input() 157 GENX(VERTEX_ELEMENT_STATE_pack)(NULL, &p[1 + slot * 2], &element); in emit_vertex_input() 164 anv_batch_emit(&pipeline->batch, GENX(3DSTATE_VF_INSTANCING), vfi) { in emit_vertex_input() 189 struct GENX(VERTEX_ELEMENT_STATE) element = { in emit_vertex_input() 203 GENX(VERTEX_ELEMENT_STATE_pack)(NULL, &p[1 + id_slot * 2], &element); in emit_vertex_input() 207 anv_batch_emit(&pipeline->batch, GENX(3DSTATE_VF_SGVS), sgvs) { in emit_vertex_input() 259 anv_batch_emit(batch, GENX(3DSTATE_URB_VS), urb) { in genX() 291 anv_batch_emit(&pipeline->batch, GENX(3DSTATE_SBE), sbe); in emit_3dstate_sbe() 293 anv_batch_emit(&pipeline->batch, GENX(3DSTATE_SBE_SWIZ), sbe); in emit_3dstate_sbe() [all …]
|
/external/mesa3d/src/intel/blorp/ |
D | blorp_genX_exec.h | 240 struct GENX(VERTEX_BUFFER_STATE) vb[2]; in blorp_emit_vertex_buffers() 275 const unsigned num_dwords = 1 + GENX(VERTEX_BUFFER_STATE_length) * 2; in blorp_emit_vertex_buffers() 276 uint32_t *dw = blorp_emitn(batch, GENX(3DSTATE_VERTEX_BUFFERS), num_dwords); in blorp_emit_vertex_buffers() 279 GENX(VERTEX_BUFFER_STATE_pack)(batch, dw, &vb[i]); in blorp_emit_vertex_buffers() 280 dw += GENX(VERTEX_BUFFER_STATE_length); in blorp_emit_vertex_buffers() 292 struct GENX(VERTEX_ELEMENT_STATE) ve[num_elements]; in blorp_emit_vertex_elements() 380 1 + GENX(VERTEX_ELEMENT_STATE_length) * num_elements; in blorp_emit_vertex_elements() 381 uint32_t *dw = blorp_emitn(batch, GENX(3DSTATE_VERTEX_ELEMENTS), num_dwords); in blorp_emit_vertex_elements() 384 GENX(VERTEX_ELEMENT_STATE_pack)(batch, dw, &ve[i]); in blorp_emit_vertex_elements() 385 dw += GENX(VERTEX_ELEMENT_STATE_length); in blorp_emit_vertex_elements() [all …]
|
/external/mesa3d/src/intel/genxml/ |
D | gen_macros.h | 65 # define GENX(X) GEN4_##X macro 68 # define GENX(X) GEN45_##X macro 71 # define GENX(X) GEN5_##X macro 74 # define GENX(X) GEN6_##X macro 77 # define GENX(X) GEN7_##X macro 80 # define GENX(X) GEN75_##X macro 83 # define GENX(X) GEN8_##X macro 86 # define GENX(X) GEN9_##X macro
|
/external/mesa3d/src/intel/isl/ |
D | isl_surface_state.c | 240 struct GENX(RENDER_SURFACE_STATE) s = { 0 }; in isl_genX() 617 GENX(RENDER_SURFACE_STATE_pack)(NULL, state, &s); in isl_genX() 644 struct GENX(RENDER_SURFACE_STATE) s = { 0, }; in isl_genX() 697 GENX(RENDER_SURFACE_STATE_pack)(NULL, state, &s); in isl_genX()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | genX_blorp_exec.c | 236 blorp_emit(batch, GENX(3DSTATE_DRAWING_RECTANGLE), rect) { in genX()
|