Re: [Mesa-dev] i965 handling of ubo_load

2012-11-26 Thread Eric Anholt
Dave Airlie writes: > Hi Eric, > > so I've been playing around with gallium/ubos a bit more, > > I noticed something I wasn't sure abuot between the i965 vs and fs backends > > FS does > ir_constant *offset = ir->operands[1]->as_constant(); > fs_inst *pull = emit(fs_inst(FS_OPCODE_PULL_CONST

Re: [Mesa-dev] i965 handling of ubo_load

2012-11-26 Thread Eric Anholt
Dave Airlie writes: > Hi Eric, > > so I've been playing around with gallium/ubos a bit more, > > I noticed something I wasn't sure abuot between the i965 vs and fs backends > > FS does > ir_constant *offset = ir->operands[1]->as_constant(); > fs_inst *pull = emit(fs_inst(FS_OPCODE_PULL_CONST

[Mesa-dev] i965 handling of ubo_load

2012-11-25 Thread Dave Airlie
Hi Eric, so I've been playing around with gallium/ubos a bit more, I noticed something I wasn't sure abuot between the i965 vs and fs backends FS does ir_constant *offset = ir->operands[1]->as_constant(); fs_inst *pull = emit(fs_inst(FS_OPCODE_PULL_CONSTANT_LOAD,