Lines Matching refs:emit

132 boolean svga_shader_emit_dword( struct svga_shader_emitter *emit,
135 boolean svga_shader_emit_dwords( struct svga_shader_emitter *emit,
139 boolean svga_shader_emit_opcode( struct svga_shader_emitter *emit,
142 boolean svga_shader_emit_instructions( struct svga_shader_emitter *emit,
145 boolean svga_translate_decl_sm30( struct svga_shader_emitter *emit,
149 static INLINE boolean emit_dst( struct svga_shader_emitter *emit,
154 return svga_shader_emit_dword( emit, dest.value );
157 static INLINE boolean emit_src( struct svga_shader_emitter *emit,
163 return (svga_shader_emit_dword( emit, src.base.value ) &&
164 svga_shader_emit_dword( emit, src.indirect.value ));
168 return svga_shader_emit_dword( emit, src.base.value );
173 static INLINE boolean emit_instruction( struct svga_shader_emitter *emit,
176 return svga_shader_emit_opcode( emit, opcode.value );
180 static INLINE boolean emit_op1( struct svga_shader_emitter *emit,
185 return (emit_instruction( emit, inst ) &&
186 emit_dst( emit, dest ) &&
187 emit_src( emit, src0 ));
190 static INLINE boolean emit_op2( struct svga_shader_emitter *emit,
196 return (emit_instruction( emit, inst ) &&
197 emit_dst( emit, dest ) &&
198 emit_src( emit, src0 ) &&
199 emit_src( emit, src1 ));
202 static INLINE boolean emit_op3( struct svga_shader_emitter *emit,
209 return (emit_instruction( emit, inst ) &&
210 emit_dst( emit, dest ) &&
211 emit_src( emit, src0 ) &&
212 emit_src( emit, src1 ) &&
213 emit_src( emit, src2 ));
217 static INLINE boolean emit_op4( struct svga_shader_emitter *emit,
225 return (emit_instruction( emit, inst ) &&
226 emit_dst( emit, dest ) &&
227 emit_src( emit, src0 ) &&
228 emit_src( emit, src1 ) &&
229 emit_src( emit, src2 ) &&
230 emit_src( emit, src3 ));
375 static INLINE ubyte svga_tgsi_sampler_type( struct svga_shader_emitter *emit,
378 switch (emit->key.fkey.tex[idx].texture_target) {