/external/mesa3d/src/glsl/builtins/profiles/ |
D | ARB_shader_texture_lod.glsl | 3 float P, float dPdx, float dPdy); 5 vec2 P, float dPdx, float dPdy); 7 vec4 P, float dPdx, float dPdy); 10 vec2 P, vec2 dPdx, vec2 dPdy); 12 vec3 P, vec2 dPdx, vec2 dPdy); 14 vec4 P, vec2 dPdx, vec2 dPdy); 17 vec3 P, vec3 dPdx, vec3 dPdy); 19 vec4 P, vec3 dPdx, vec3 dPdy); 22 vec3 P, vec3 dPdx, vec3 dPdy); 25 vec3 P, float dPdx, float dPdy); [all …]
|
D | 140.glsl | 802 vec4 textureGrad( sampler1D sampler, float P, float dPdx, float dPdy); 803 ivec4 textureGrad(isampler1D sampler, float P, float dPdx, float dPdy); 804 uvec4 textureGrad(usampler1D sampler, float P, float dPdx, float dPdy); 806 vec4 textureGrad( sampler2D sampler, vec2 P, vec2 dPdx, vec2 dPdy); 807 ivec4 textureGrad(isampler2D sampler, vec2 P, vec2 dPdx, vec2 dPdy); 808 uvec4 textureGrad(usampler2D sampler, vec2 P, vec2 dPdx, vec2 dPdy); 810 vec4 textureGrad( sampler3D sampler, vec3 P, vec3 dPdx, vec3 dPdy); 811 ivec4 textureGrad(isampler3D sampler, vec3 P, vec3 dPdx, vec3 dPdy); 812 uvec4 textureGrad(usampler3D sampler, vec3 P, vec3 dPdx, vec3 dPdy); 814 vec4 textureGrad( samplerCube sampler, vec3 P, vec3 dPdx, vec3 dPdy); [all …]
|
D | 130.glsl | 747 vec4 textureGrad( sampler1D sampler, float P, float dPdx, float dPdy); 748 ivec4 textureGrad(isampler1D sampler, float P, float dPdx, float dPdy); 749 uvec4 textureGrad(usampler1D sampler, float P, float dPdx, float dPdy); 751 vec4 textureGrad( sampler2D sampler, vec2 P, vec2 dPdx, vec2 dPdy); 752 ivec4 textureGrad(isampler2D sampler, vec2 P, vec2 dPdx, vec2 dPdy); 753 uvec4 textureGrad(usampler2D sampler, vec2 P, vec2 dPdx, vec2 dPdy); 755 vec4 textureGrad( sampler3D sampler, vec3 P, vec3 dPdx, vec3 dPdy); 756 ivec4 textureGrad(isampler3D sampler, vec3 P, vec3 dPdx, vec3 dPdy); 757 uvec4 textureGrad(usampler3D sampler, vec3 P, vec3 dPdx, vec3 dPdy); 759 vec4 textureGrad( samplerCube sampler, vec3 P, vec3 dPdx, vec3 dPdy); [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_lower_texture_gradients.cpp | 95 const glsl_type *grad_type = ir->lod_info.grad.dPdx->type; in visit_leave() 119 ir_variable *dPdx = in visit_leave() local 121 emit(dPdx, mul(size, ir->lod_info.grad.dPdx)); in visit_leave() 129 if (dPdx->type->is_scalar()) { in visit_leave() 130 rho = expr(ir_binop_max, expr(ir_unop_abs, dPdx), in visit_leave() 133 rho = expr(ir_binop_max, expr(ir_unop_sqrt, dot(dPdx, dPdx)), in visit_leave()
|
D | brw_vec4_visitor.cpp | 1857 src_reg lod, dPdx, dPdy; in visit() local 1871 ir->lod_info.grad.dPdx->accept(this); in visit() 1872 dPdx = this->result; in visit() 1877 lod_type = ir->lod_info.grad.dPdx->type; in visit() 1985 dPdx.swizzle = BRW_SWIZZLE4(SWIZZLE_X,SWIZZLE_X,SWIZZLE_Y,SWIZZLE_Y); in visit() 1987 emit(MOV(dst_reg(MRF, param_base + 1, type, WRITEMASK_XZ), dPdx)); in visit() 1992 dPdx.swizzle = BRW_SWIZZLE_ZZZZ; in visit() 1994 emit(MOV(dst_reg(MRF, param_base + 2, type, WRITEMASK_X), dPdx)); in visit() 1999 emit(MOV(dst_reg(MRF, param_base + 1, type, WRITEMASK_XYZ), dPdx)); in visit()
|
D | brw_fs_visitor.cpp | 792 fs_reg &dPdx = lod; in emit_texture_gen4() local 815 for (int i = 0; i < ir->lod_info.grad.dPdx->type->vector_elements; i++) { in emit_texture_gen4() 816 emit(BRW_OPCODE_MOV, fs_reg(MRF, base_mrf + mlen), dPdx); in emit_texture_gen4() 817 dPdx.reg_offset++; in emit_texture_gen4() 819 mlen += MAX2(ir->lod_info.grad.dPdx->type->vector_elements, 2); in emit_texture_gen4() 1000 for (int i = 0; i < ir->lod_info.grad.dPdx->type->vector_elements; i++) { in emit_texture_gen5() 1313 ir->lod_info.grad.dPdx->accept(this); in visit()
|
/external/mesa3d/src/glsl/ |
D | ir_clone.cpp | 259 new_tex->lod_info.grad.dPdx = this->lod_info.grad.dPdx->clone(mem_ctx, ht); in clone()
|
D | ir_rvalue_visitor.cpp | 70 handle_rvalue(&ir->lod_info.grad.dPdx); in rvalue_visit()
|
D | opt_tree_grafting.cpp | 288 if (do_graft(&ir->lod_info.grad.dPdx) || in visit_enter()
|
D | ir_hv_accept.cpp | 230 s = this->lod_info.grad.dPdx->accept(v); in accept()
|
D | ir_print_visitor.cpp | 291 ir->lod_info.grad.dPdx->accept(this); in visit()
|
D | ir_reader.cpp | 1033 tex->lod_info.grad.dPdx = read_rvalue(s_dx); in read_texture() 1034 if (tex->lod_info.grad.dPdx == NULL) { in read_texture()
|
D | ir.h | 1425 ir_rvalue *dPdx; /**< Partial derivative of coordinate wrt X */ member
|
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
D | nv50_ir.cpp | 888 dPdx[c].set(NULL); in ~TexInstruction() 905 tex->dPdx[c].set(dPdx[c]); in clone()
|
D | nv50_ir.h | 814 ValueRef dPdx[3]; variable
|
D | nv50_ir_lowering_nv50.cpp | 755 bld.mkQuadop(qOps[l][0], crd[c], l, i->dPdx[c].get(), crd[c]); in handleTXD()
|
D | nv50_ir_from_sm4.cpp | 1600 texi->dPdx[c] = src(3, c); in handleSAMPLE()
|
D | nv50_ir_from_tgsi.cpp | 1571 texi->dPdx[c].set(fetchSrc(Dx >> 4, (Dx & 3) + c)); in handleTEX()
|
/external/mesa3d/src/gallium/drivers/nvc0/codegen/ |
D | nv50_ir_lowering_nvc0.cpp | 777 bld.mkQuadop(qOps[l][0], crd[c], l, i->dPdx[c].get(), crd[c]); in handleManualTXD() 824 txd->setSrc(arg + c * 2 + 0, txd->dPdx[c]); in handleTXD() 826 txd->dPdx[c].set(NULL); in handleTXD()
|
/external/mesa3d/src/mesa/program/ |
D | ir_to_mesa.cpp | 2021 ir->lod_info.grad.dPdx->accept(this); in visit()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_glsl_to_tgsi.cpp | 2616 ir->lod_info.grad.dPdx->accept(this); in visit()
|