@ -473,7 +473,8 @@ ureg_insn(struct ureg_program *ureg,
const struct ureg_dst * dst ,
const struct ureg_dst * dst ,
unsigned nr_dst ,
unsigned nr_dst ,
const struct ureg_src * src ,
const struct ureg_src * src ,
unsigned nr_src ) ;
unsigned nr_src ,
unsigned precise ) ;
void
void
@ -509,6 +510,7 @@ struct ureg_emit_insn_result
ureg_emit_insn ( struct ureg_program * ureg ,
ureg_emit_insn ( struct ureg_program * ureg ,
unsigned opcode ,
unsigned opcode ,
boolean saturate ,
boolean saturate ,
unsigned precise ,
unsigned num_dst ,
unsigned num_dst ,
unsigned num_src ) ;
unsigned num_src ) ;
@ -548,6 +550,7 @@ static inline void ureg_##op( struct ureg_program *ureg ) \
opcode , \
opcode , \
FALSE , \
FALSE , \
0 , \
0 , \
0 , \
0 ) ; \
0 ) ; \
ureg_fixup_insn_size ( ureg , insn . insn_token ) ; \
ureg_fixup_insn_size ( ureg , insn . insn_token ) ; \
}
}
@ -562,6 +565,7 @@ static inline void ureg_##op( struct ureg_program *ureg, \
opcode , \
opcode , \
FALSE , \
FALSE , \
0 , \
0 , \
0 , \
1 ) ; \
1 ) ; \
ureg_emit_src ( ureg , src ) ; \
ureg_emit_src ( ureg , src ) ; \
ureg_fixup_insn_size ( ureg , insn . insn_token ) ; \
ureg_fixup_insn_size ( ureg , insn . insn_token ) ; \
@ -577,6 +581,7 @@ static inline void ureg_##op( struct ureg_program *ureg, \
opcode , \
opcode , \
FALSE , \
FALSE , \
0 , \
0 , \
0 , \
0 ) ; \
0 ) ; \
ureg_emit_label ( ureg , insn . extended_token , label_token ) ; \
ureg_emit_label ( ureg , insn . extended_token , label_token ) ; \
ureg_fixup_insn_size ( ureg , insn . insn_token ) ; \
ureg_fixup_insn_size ( ureg , insn . insn_token ) ; \
@ -593,6 +598,7 @@ static inline void ureg_##op( struct ureg_program *ureg, \
opcode , \
opcode , \
FALSE , \
FALSE , \
0 , \
0 , \
0 , \
1 ) ; \
1 ) ; \
ureg_emit_label ( ureg , insn . extended_token , label_token ) ; \
ureg_emit_label ( ureg , insn . extended_token , label_token ) ; \
ureg_emit_src ( ureg , src ) ; \
ureg_emit_src ( ureg , src ) ; \
@ -610,6 +616,7 @@ static inline void ureg_##op( struct ureg_program *ureg, \
insn = ureg_emit_insn ( ureg , \
insn = ureg_emit_insn ( ureg , \
opcode , \
opcode , \
dst . Saturate , \
dst . Saturate , \
0 , \
1 , \
1 , \
0 ) ; \
0 ) ; \
ureg_emit_dst ( ureg , dst ) ; \
ureg_emit_dst ( ureg , dst ) ; \
@ -629,6 +636,7 @@ static inline void ureg_##op( struct ureg_program *ureg, \
insn = ureg_emit_insn ( ureg , \
insn = ureg_emit_insn ( ureg , \
opcode , \
opcode , \
dst . Saturate , \
dst . Saturate , \
0 , \
1 , \
1 , \
1 ) ; \
1 ) ; \
ureg_emit_dst ( ureg , dst ) ; \
ureg_emit_dst ( ureg , dst ) ; \
@ -649,6 +657,7 @@ static inline void ureg_##op( struct ureg_program *ureg, \
insn = ureg_emit_insn ( ureg , \
insn = ureg_emit_insn ( ureg , \
opcode , \
opcode , \
dst . Saturate , \
dst . Saturate , \
0 , \
1 , \
1 , \
2 ) ; \
2 ) ; \
ureg_emit_dst ( ureg , dst ) ; \
ureg_emit_dst ( ureg , dst ) ; \
@ -671,6 +680,7 @@ static inline void ureg_##op( struct ureg_program *ureg, \
insn = ureg_emit_insn ( ureg , \
insn = ureg_emit_insn ( ureg , \
opcode , \
opcode , \
dst . Saturate , \
dst . Saturate , \
0 , \
1 , \
1 , \
2 ) ; \
2 ) ; \
ureg_emit_texture ( ureg , insn . extended_token , target , 0 ) ; \
ureg_emit_texture ( ureg , insn . extended_token , target , 0 ) ; \
@ -694,6 +704,7 @@ static inline void ureg_##op( struct ureg_program *ureg, \
insn = ureg_emit_insn ( ureg , \
insn = ureg_emit_insn ( ureg , \
opcode , \
opcode , \
dst . Saturate , \
dst . Saturate , \
0 , \
1 , \
1 , \
2 ) ; \
2 ) ; \
ureg_emit_texture ( ureg , insn . extended_token , target , 0 ) ; \
ureg_emit_texture ( ureg , insn . extended_token , target , 0 ) ; \
@ -717,6 +728,7 @@ static inline void ureg_##op( struct ureg_program *ureg, \
insn = ureg_emit_insn ( ureg , \
insn = ureg_emit_insn ( ureg , \
opcode , \
opcode , \
dst . Saturate , \
dst . Saturate , \
0 , \
1 , \
1 , \
3 ) ; \
3 ) ; \
ureg_emit_dst ( ureg , dst ) ; \
ureg_emit_dst ( ureg , dst ) ; \
@ -741,6 +753,7 @@ static inline void ureg_##op( struct ureg_program *ureg, \
insn = ureg_emit_insn ( ureg , \
insn = ureg_emit_insn ( ureg , \
opcode , \
opcode , \
dst . Saturate , \
dst . Saturate , \
0 , \
1 , \
1 , \
3 ) ; \
3 ) ; \
ureg_emit_texture ( ureg , insn . extended_token , target , 0 ) ; \
ureg_emit_texture ( ureg , insn . extended_token , target , 0 ) ; \
@ -767,6 +780,7 @@ static inline void ureg_##op( struct ureg_program *ureg, \
insn = ureg_emit_insn ( ureg , \
insn = ureg_emit_insn ( ureg , \
opcode , \
opcode , \
dst . Saturate , \
dst . Saturate , \
0 , \
1 , \
1 , \
4 ) ; \
4 ) ; \
ureg_emit_texture ( ureg , insn . extended_token , target , 0 ) ; \
ureg_emit_texture ( ureg , insn . extended_token , target , 0 ) ; \
@ -794,6 +808,7 @@ static inline void ureg_##op( struct ureg_program *ureg, \
insn = ureg_emit_insn ( ureg , \
insn = ureg_emit_insn ( ureg , \
opcode , \
opcode , \
dst . Saturate , \
dst . Saturate , \
0 , \
1 , \
1 , \
4 ) ; \
4 ) ; \
ureg_emit_texture ( ureg , insn . extended_token , target , 0 ) ; \
ureg_emit_texture ( ureg , insn . extended_token , target , 0 ) ; \
@ -821,6 +836,7 @@ static inline void ureg_##op( struct ureg_program *ureg, \
insn = ureg_emit_insn ( ureg , \
insn = ureg_emit_insn ( ureg , \
opcode , \
opcode , \
dst . Saturate , \
dst . Saturate , \
0 , \
1 , \
1 , \
4 ) ; \
4 ) ; \
ureg_emit_dst ( ureg , dst ) ; \
ureg_emit_dst ( ureg , dst ) ; \
@ -848,6 +864,7 @@ static inline void ureg_##op( struct ureg_program *ureg, \
insn = ureg_emit_insn ( ureg , \
insn = ureg_emit_insn ( ureg , \
opcode , \
opcode , \
dst . Saturate , \
dst . Saturate , \
0 , \
1 , \
1 , \
5 ) ; \
5 ) ; \
ureg_emit_dst ( ureg , dst ) ; \
ureg_emit_dst ( ureg , dst ) ; \
@ -876,6 +893,7 @@ static inline void ureg_##op( struct ureg_program *ureg, \
insn = ureg_emit_insn ( ureg , \
insn = ureg_emit_insn ( ureg , \
opcode , \
opcode , \
dst . Saturate , \
dst . Saturate , \
0 , \
1 , \
1 , \
5 ) ; \
5 ) ; \
ureg_emit_texture ( ureg , insn . extended_token , target , 0 ) ; \
ureg_emit_texture ( ureg , insn . extended_token , target , 0 ) ; \