/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_lower_texture_gradients.cpp | 95 const glsl_type *grad_type = ir->lod_info.grad.dPdx->type; 119 ir_variable *dPdx = 120 new(mem_ctx) ir_variable(grad_type, "dPdx", ir_var_temporary); 121 emit(dPdx, mul(size, ir->lod_info.grad.dPdx)); 129 if (dPdx->type->is_scalar()) { 130 rho = expr(ir_binop_max, expr(ir_unop_abs, dPdx), 133 rho = expr(ir_binop_max, expr(ir_unop_sqrt, dot(dPdx, dPdx)),
|
brw_fs_visitor.cpp | 792 fs_reg &dPdx = lod; 802 * dPdx = dudx, dvdx, drdx 808 * dPdx.x dPdx.y dPdy.x dPdy.y 812 * dPdx.x dPdx.y dPdx.z dPdy.x dPdy.y dPdy.z 815 for (int i = 0; i < ir->lod_info.grad.dPdx->type->vector_elements; i++) { 816 emit(BRW_OPCODE_MOV, fs_reg(MRF, base_mrf + mlen), dPdx); 817 dPdx.reg_offset++ [all...] |
brw_vec4_visitor.cpp | [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_lower_texture_gradients.cpp | 95 const glsl_type *grad_type = ir->lod_info.grad.dPdx->type; 119 ir_variable *dPdx = 120 new(mem_ctx) ir_variable(grad_type, "dPdx", ir_var_temporary); 121 emit(dPdx, mul(size, ir->lod_info.grad.dPdx)); 129 if (dPdx->type->is_scalar()) { 130 rho = expr(ir_binop_max, expr(ir_unop_abs, dPdx), 133 rho = expr(ir_binop_max, expr(ir_unop_sqrt, dot(dPdx, dPdx)),
|
brw_fs_visitor.cpp | 792 fs_reg &dPdx = lod; 802 * dPdx = dudx, dvdx, drdx 808 * dPdx.x dPdx.y dPdy.x dPdy.y 812 * dPdx.x dPdx.y dPdx.z dPdy.x dPdy.y dPdy.z 815 for (int i = 0; i < ir->lod_info.grad.dPdx->type->vector_elements; i++) { 816 emit(BRW_OPCODE_MOV, fs_reg(MRF, base_mrf + mlen), dPdx); 817 dPdx.reg_offset++ [all...] |
brw_vec4_visitor.cpp | [all...] |
/external/chromium_org/third_party/mesa/src/src/glsl/ |
ir.h | [all...] |
/external/mesa3d/src/glsl/ |
ir.h | [all...] |