Lines Matching refs:GENX
71 anv_batch_emit(&cmd_buffer->batch, GENX(MI_COPY_MEM_MEM), cp) { in genX()
80 anv_batch_emit(&cmd_buffer->batch, GENX(MI_LOAD_REGISTER_MEM), load) { in genX()
84 anv_batch_emit(&cmd_buffer->batch, GENX(MI_STORE_REGISTER_MEM), store) { in genX()
132 dw = anv_batch_emitn(&cmd_buffer->batch, 5, GENX(3DSTATE_VERTEX_BUFFERS)); in genX()
133 GENX(VERTEX_BUFFER_STATE_pack)(&cmd_buffer->batch, dw + 1, in genX()
134 &(struct GENX(VERTEX_BUFFER_STATE)) { in genX()
140 .MemoryObjectControlState = GENX(MOCS), in genX()
143 .VertexBufferMemoryObjectControlState = GENX(MOCS), in genX()
148 dw = anv_batch_emitn(&cmd_buffer->batch, 3, GENX(3DSTATE_VERTEX_ELEMENTS)); in genX()
149 GENX(VERTEX_ELEMENT_STATE_pack)(&cmd_buffer->batch, dw + 1, in genX()
150 &(struct GENX(VERTEX_ELEMENT_STATE)) { in genX()
153 .SourceElementFormat = (enum GENX(SURFACE_FORMAT)) format, in genX()
162 anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VF_SGVS), sgvs); in genX()
166 anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VS), vs); in genX()
167 anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_HS), hs); in genX()
168 anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_TE), te); in genX()
169 anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_DS), DS); in genX()
170 anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_GS), gs); in genX()
171 anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_PS), gs); in genX()
173 anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_SBE), sbe) { in genX()
198 anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_SO_BUFFER), sob) { in genX()
200 sob.SOBufferObjectControlState = GENX(MOCS); in genX()
225 anv_batch_emit(&cmd_buffer->batch, GENX(MI_LOAD_REGISTER_IMM), load) { in genX()
226 load.RegisterOffset = GENX(SO_WRITE_OFFSET0_num); in genX()
231 dw = anv_batch_emitn(&cmd_buffer->batch, 5, GENX(3DSTATE_SO_DECL_LIST), in genX()
234 GENX(SO_DECL_ENTRY_pack)(&cmd_buffer->batch, dw + 3, in genX()
235 &(struct GENX(SO_DECL_ENTRY)) { in genX()
243 anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_STREAMOUT), so) { in genX()
256 anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VF_TOPOLOGY), topo) { in genX()
261 anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VF_STATISTICS), vf) { in genX()
265 anv_batch_emit(&cmd_buffer->batch, GENX(3DPRIMITIVE), prim) { in genX()