On Mon, Jul 27, 2015 at 9:22 AM, Antía Puentes wrote:
> Hi! Jason,
>
> On jue, 2015-07-23 at 15:46 -0700, Jason Ekstrand wrote:
>
>> > @@ -332,7 +334,22 @@ vec4_visitor::nir_emit_instr(nir_instr *instr)
>> > void
>> > vec4_visitor::nir_emit_load_const(nir_load_const_instr *instr)
>> > {
>> > -
Hi! Jason,
On jue, 2015-07-23 at 15:46 -0700, Jason Ekstrand wrote:
> > @@ -332,7 +334,22 @@ vec4_visitor::nir_emit_instr(nir_instr *instr)
> > void
> > vec4_visitor::nir_emit_load_const(nir_load_const_instr *instr)
> > {
> > - /* @TODO: Not yet implemented */
> > + dst_reg reg = dst_reg(G
On Thu, Jul 23, 2015 at 3:16 AM, Eduardo Lima Mitev wrote:
> Similar to fs_nir backend, a nir_local_values map will be filled with
> newly allocated registers as the load_const instrinsic instructions are
> processed. Later, get_nir_src() will fetch the registers from this map
> for sources that a
Similar to fs_nir backend, a nir_local_values map will be filled with
newly allocated registers as the load_const instrinsic instructions are
processed. Later, get_nir_src() will fetch the registers from this map
for sources that are ssa.
---
src/mesa/drivers/dri/i965/brw_nir.c| 2 +-
src