Searched refs:coord1 (Results 1 – 5 of 5) sorted by relevance
/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/SSAO/ |
D | ssao15.frag | 81 vec2 coord1 = reflection(vec2(m_Samples[j]), rand) * vec2(rad,rad); 82 vec2 coord2 = vec2(coord1.x* 0.707 - coord1.y* 0.707, coord1.x* 0.707 + coord1.y* 0.707) ; 84 ao += doAmbientOcclusion(texCoord + coord1.xy * 0.25, position, normal); 86 ao += doAmbientOcclusion(texCoord + coord1.xy * 0.75, position, normal);
|
D | ssao.frag | 89 vec2 coord1 = reflection(vec2(m_Samples[j]), vec2(rand)) * vec2(rad,rad); 90 vec2 coord2 = vec2(coord1.x* 0.707 - coord1.y* 0.707, coord1.x* 0.707 + coord1.y* 0.707) ; 92 ao += doAmbientOcclusion(texCoord + coord1.xy * 0.25, position, normal); 94 ao += doAmbientOcclusion(texCoord + coord1.xy * 0.75, position, normal);
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_sample_aos.c | 221 LLVMValueRef coord1; in lp_build_sample_wrap_linear_int() local 225 coord1 = lp_build_add(int_coord_bld, coord0, int_coord_bld->one); in lp_build_sample_wrap_linear_int() 227 coord1 = LLVMBuildAnd(builder, coord1, length_minus_one, ""); in lp_build_sample_wrap_linear_int() 238 coord1 = LLVMBuildAnd(builder, in lp_build_sample_wrap_linear_int() 248 coord1 = lp_build_add(int_coord_bld, coord0, int_coord_bld->one); in lp_build_sample_wrap_linear_int() 251 coord1 = lp_build_clamp(int_coord_bld, coord1, int_coord_bld->zero, in lp_build_sample_wrap_linear_int() 264 coord1 = int_coord_bld->zero; in lp_build_sample_wrap_linear_int() 269 lp_build_sample_partial_offset(int_coord_bld, block_length, coord1, stride, in lp_build_sample_wrap_linear_int() 360 LLVMValueRef *coord1, in lp_build_sample_wrap_linear_float() argument 377 *coord1 = lp_build_add(coord_bld, coord, coord_bld->one); in lp_build_sample_wrap_linear_float() [all …]
|
D | lp_bld_sample_soa.c | 282 LLVMValueRef coord0, coord1, weight; in lp_build_sample_wrap_linear() local 292 coord1 = lp_build_add(int_coord_bld, coord0, int_coord_bld->one); in lp_build_sample_wrap_linear() 295 coord1 = LLVMBuildAnd(builder, coord1, length_minus_one, ""); in lp_build_sample_wrap_linear() 304 coord1 = LLVMBuildAnd(builder, in lp_build_sample_wrap_linear() 323 coord1 = lp_build_add(int_coord_bld, coord0, int_coord_bld->one); in lp_build_sample_wrap_linear() 343 coord1 = lp_build_add(int_coord_bld, coord0, int_coord_bld->one); in lp_build_sample_wrap_linear() 345 coord1 = lp_build_min(int_coord_bld, coord1, length_minus_one); in lp_build_sample_wrap_linear() 362 coord1 = lp_build_add(int_coord_bld, coord0, int_coord_bld->one); in lp_build_sample_wrap_linear() 376 coord1 = lp_build_add(int_coord_bld, coord0, int_coord_bld->one); in lp_build_sample_wrap_linear() 381 coord1 = lp_build_min(int_coord_bld, coord1, length_minus_one); in lp_build_sample_wrap_linear() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_blorp_blit.cpp | 43 fixup_mirroring(bool &mirror, GLint &coord0, GLint &coord1) in fixup_mirroring() argument 45 if (coord0 > coord1) { in fixup_mirroring() 48 coord0 = coord1; in fixup_mirroring() 49 coord1 = tmp; in fixup_mirroring()
|