Home
last modified time | relevance | path

Searched refs:dPdy (Results 1 – 21 of 21) sorted by relevance

/external/mesa3d/src/glsl/builtins/profiles/
DARB_shader_texture_lod.glsl3 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 …]
D140.glsl802 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 …]
D130.glsl747 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/
Dbrw_lower_texture_gradients.cpp123 ir_variable *dPdy = in visit_leave() local
125 emit(dPdy, mul(size, ir->lod_info.grad.dPdy)); in visit_leave()
131 expr(ir_unop_abs, dPdy)); in visit_leave()
134 expr(ir_unop_sqrt, dot(dPdy, dPdy))); in visit_leave()
Dbrw_vec4_visitor.cpp1857 src_reg lod, dPdx, dPdy; in visit() local
1874 ir->lod_info.grad.dPdy->accept(this); in visit()
1875 dPdy = this->result; in visit()
1986 dPdy.swizzle = BRW_SWIZZLE4(SWIZZLE_X,SWIZZLE_X,SWIZZLE_Y,SWIZZLE_Y); in visit()
1988 emit(MOV(dst_reg(MRF, param_base + 1, type, WRITEMASK_YW), dPdy)); in visit()
1993 dPdy.swizzle = BRW_SWIZZLE_ZZZZ; in visit()
1995 emit(MOV(dst_reg(MRF, param_base + 2, type, WRITEMASK_Y), dPdy)); in visit()
2000 emit(MOV(dst_reg(MRF, param_base + 2, type, WRITEMASK_XYZ), dPdy)); in visit()
Dbrw_fs_visitor.cpp751 fs_reg shadow_c, fs_reg lod, fs_reg dPdy) in emit_texture_gen4() argument
821 for (int i = 0; i < ir->lod_info.grad.dPdy->type->vector_elements; i++) { in emit_texture_gen4()
822 emit(BRW_OPCODE_MOV, fs_reg(MRF, base_mrf + mlen), dPdy); in emit_texture_gen4()
823 dPdy.reg_offset++; in emit_texture_gen4()
825 mlen += MAX2(ir->lod_info.grad.dPdy->type->vector_elements, 2); in emit_texture_gen4()
1316 ir->lod_info.grad.dPdy->accept(this); in visit()
/external/mesa3d/src/glsl/
Dir_clone.cpp260 new_tex->lod_info.grad.dPdy = this->lod_info.grad.dPdy->clone(mem_ctx, ht); in clone()
Dir_rvalue_visitor.cpp71 handle_rvalue(&ir->lod_info.grad.dPdy); in rvalue_visit()
Dopt_tree_grafting.cpp289 do_graft(&ir->lod_info.grad.dPdy)) in visit_enter()
Dir_hv_accept.cpp234 s = this->lod_info.grad.dPdy->accept(v); in accept()
Dir_print_visitor.cpp293 ir->lod_info.grad.dPdy->accept(this); in visit()
Dir_reader.cpp1038 tex->lod_info.grad.dPdy = read_rvalue(s_dy); in read_texture()
1039 if (tex->lod_info.grad.dPdy == NULL) { in read_texture()
Dir.h1426 ir_rvalue *dPdy; /**< Partial derivative of coordinate wrt Y */ member
/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir.cpp889 dPdy[c].set(NULL); in ~TexInstruction()
906 tex->dPdy[c].set(dPdy[c]); in clone()
Dnv50_ir.h815 ValueRef dPdy[3]; variable
Dnv50_ir_lowering_nv50.cpp758 bld.mkQuadop(qOps[l][1], crd[c], l, i->dPdy[c].get(), crd[c]); in handleTXD()
Dnv50_ir_from_sm4.cpp1601 texi->dPdy[c] = src(4, c); in handleSAMPLE()
Dnv50_ir_from_tgsi.cpp1572 texi->dPdy[c].set(fetchSrc(Dy >> 4, (Dy & 3) + c)); in handleTEX()
/external/mesa3d/src/gallium/drivers/nvc0/codegen/
Dnv50_ir_lowering_nvc0.cpp780 bld.mkQuadop(qOps[l][1], crd[c], l, i->dPdy[c].get(), crd[c]); in handleManualTXD()
825 txd->setSrc(arg + c * 2 + 1, txd->dPdy[c]); in handleTXD()
827 txd->dPdy[c].set(NULL); in handleTXD()
/external/mesa3d/src/mesa/program/
Dir_to_mesa.cpp2023 ir->lod_info.grad.dPdy->accept(this); in visit()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp2618 ir->lod_info.grad.dPdy->accept(this); in visit()