• Home
  • Raw
  • Download

Lines Matching refs:OUT_BATCH

80 		OUT_BATCH(_3DSTATE_MAP_CUBE | MAP_UNIT(i));  in gen2_emit_invariant()
81 OUT_BATCH(_3DSTATE_MAP_TEX_STREAM_CMD | MAP_UNIT(i) | in gen2_emit_invariant()
85 OUT_BATCH(_3DSTATE_MAP_COORD_TRANSFORM); in gen2_emit_invariant()
86 OUT_BATCH(DISABLE_TEX_TRANSFORM | TEXTURE_SET(i)); in gen2_emit_invariant()
89 OUT_BATCH(_3DSTATE_MAP_COORD_SETBIND_CMD); in gen2_emit_invariant()
90 OUT_BATCH(TEXBIND_SET3(TEXCOORDSRC_VTXSET_3) | in gen2_emit_invariant()
95 OUT_BATCH(_3DSTATE_SCISSOR_ENABLE_CMD | DISABLE_SCISSOR_RECT); in gen2_emit_invariant()
97 OUT_BATCH(_3DSTATE_VERTEX_TRANSFORM); in gen2_emit_invariant()
98 OUT_BATCH(DISABLE_VIEWPORT_TRANSFORM | DISABLE_PERSPECTIVE_DIVIDE); in gen2_emit_invariant()
100 OUT_BATCH(_3DSTATE_W_STATE_CMD); in gen2_emit_invariant()
101 OUT_BATCH(MAGIC_W_STATE_DWORD1); in gen2_emit_invariant()
102 OUT_BATCH(0x3f800000 /* 1.0 in IEEE float */ ); in gen2_emit_invariant()
104 OUT_BATCH(_3DSTATE_INDPT_ALPHA_BLEND_CMD | in gen2_emit_invariant()
108 OUT_BATCH(_3DSTATE_CONST_BLEND_COLOR_CMD); in gen2_emit_invariant()
109 OUT_BATCH(0); in gen2_emit_invariant()
111 OUT_BATCH(_3DSTATE_MODES_1_CMD | in gen2_emit_invariant()
116 OUT_BATCH(_3DSTATE_ENABLES_1_CMD | in gen2_emit_invariant()
126 OUT_BATCH(_3DSTATE_ENABLES_2_CMD | in gen2_emit_invariant()
158 OUT_BATCH(_3DSTATE_BUF_INFO_CMD); in gen2_emit_target()
159 OUT_BATCH(BUF_3D_ID_COLOR_BACK | tiling | BUF_3D_PITCH(dst->stride)); in gen2_emit_target()
162 OUT_BATCH(_3DSTATE_DST_BUF_VARS_CMD); in gen2_emit_target()
163 OUT_BATCH(format | in gen2_emit_target()
167 OUT_BATCH(_3DSTATE_DRAW_RECT_CMD); in gen2_emit_target()
168 OUT_BATCH(0); in gen2_emit_target()
169 OUT_BATCH(0); /* ymin, xmin */ in gen2_emit_target()
170 OUT_BATCH(DRAW_YMAX(igt_buf_height(dst) - 1) | in gen2_emit_target()
172 OUT_BATCH(0); /* yorig, xorig */ in gen2_emit_target()
199 OUT_BATCH(_3DSTATE_LOAD_STATE_IMMEDIATE_2 | LOAD_TEXTURE_MAP(unit) | 4); in gen2_emit_texture()
201 OUT_BATCH((igt_buf_height(src) - 1) << TM0S1_HEIGHT_SHIFT | in gen2_emit_texture()
204 OUT_BATCH((src->stride / 4 - 1) << TM0S2_PITCH_SHIFT | TM0S2_MAP_2D); in gen2_emit_texture()
205 OUT_BATCH(FILTER_NEAREST << TM0S3_MAG_FILTER_SHIFT | in gen2_emit_texture()
208 OUT_BATCH(0); /* default color */ in gen2_emit_texture()
210 OUT_BATCH(_3DSTATE_MAP_COORD_SET_CMD | TEXCOORD_SET(unit) | in gen2_emit_texture()
219 OUT_BATCH(_3DSTATE_INDPT_ALPHA_BLEND_CMD | DISABLE_INDPT_ALPHA_BLEND); in gen2_emit_copy_pipeline()
220 OUT_BATCH(_3DSTATE_ENABLES_1_CMD | DISABLE_LOGIC_OP | in gen2_emit_copy_pipeline()
225 OUT_BATCH(_3DSTATE_LOAD_STATE_IMMEDIATE_2 | in gen2_emit_copy_pipeline()
227 OUT_BATCH(TB0C_LAST_STAGE | TB0C_RESULT_SCALE_1X | in gen2_emit_copy_pipeline()
230 OUT_BATCH(TB0A_RESULT_SCALE_1X | TB0A_OUTPUT_WRITE_CURRENT | in gen2_emit_copy_pipeline()
248 OUT_BATCH(_3DSTATE_LOAD_STATE_IMMEDIATE_1 | in gen2_render_copyfunc()
250 OUT_BATCH(1<<12); in gen2_render_copyfunc()
251 OUT_BATCH(S3_CULLMODE_NONE | S3_VERTEXHAS_XY); in gen2_render_copyfunc()
252 OUT_BATCH(S8_ENABLE_COLOR_BUFFER_WRITE); in gen2_render_copyfunc()
254 OUT_BATCH(_3DSTATE_VERTEX_FORMAT_2_CMD | TEXCOORDFMT_2D << 0); in gen2_render_copyfunc()
256 OUT_BATCH(PRIM3D_INLINE | PRIM3D_RECTLIST | (3*4 -1)); in gen2_render_copyfunc()