| /third_party/vk-gl-cts/framework/opengl/ |
| H A D | gluTextureTestUtil.cpp | 614 static float computeCubeLodFromDerivates (LodMode lodMode, const tcu::Vec3& coord, const tcu::Vec3& coordDx, const tcu::Vec3& coordDy, const int faceSize) in computeCubeLodFromDerivates() argument 1357 const float coord = projectedTriInterpolate(triS[triNdx], triW[triNdx], triNx, triNy); computeTextureLookupDiff() local [all...] |
| /third_party/vk-gl-cts/modules/gles2/functional/ |
| H A D | es2fVertexTextureTests.cpp | 359 static inline Vec4 sample (const tcu::Texture2D& tex, const Vec2& coord, float lod, const tcu::Sampler& sam) { return tex.sample(sam, coord.x(), coord.y(), lod); } in sample() argument 360 static inline Vec4 sample (const tcu::TextureCube& tex, const Vec3& coord, float lod, const tcu::Sampler& sam) { return tex.sample(sam, coord.x(), coord.y(), coord.z(), lod); } in sample() argument 372 const typename TexTypeCoordVec<TexType>::t& coord = grid.getQuadTexCoord(x, y); in computeReference() local [all...] |
| /third_party/mesa3d/src/amd/common/ |
| H A D | ac_surface.c | 3140 nir_ssa_def *coord[] = {x, y, z, 0}; gfx10_nir_meta_addr_from_coord() local [all...] |
| /third_party/mesa3d/src/compiler/spirv/ |
| H A D | vtn_private.h | 596 nir_ssa_def *coord; member
|
| H A D | spirv_to_nir.c | 2835 struct nir_ssa_def *coord; in vtn_handle_texture() local 3215 nir_ssa_def *coord = vtn_get_nir_ssa(b, value); in get_image_coord() local [all...] |
| /third_party/mesa3d/src/freedreno/vulkan/ |
| H A D | tu_clear_blit.c | 596 nir_ssa_def *coord = nir_f2i32(b, nir_load_var(b, in_coords)); in build_ms_copy_fs_shader() local
|
| /third_party/mesa3d/src/freedreno/ir3/ |
| H A D | ir3_compiler_nir.c | 78 create_frag_input(struct ir3_context *ctx, struct ir3_instruction *coord, in create_frag_input() argument 2918 struct ir3_instruction *const *coord, *const *off, *const *ddx, *const *ddy; in emit_tex() local 3914 struct ir3_instruction *coord = NULL; setup_input() local [all...] |
| /third_party/mesa3d/src/intel/blorp/ |
| H A D | blorp_blit.c | 73 nir_ssa_def *coord = nir_f2i32(b, nir_load_frag_coord(b)); in blorp_blit_get_frag_coords() local 100 nir_ssa_def *coord = nir_load_global_invocation_id(b, 32); in blorp_blit_get_cs_dst_coords() local [all...] |
| /third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
| H A D | lp_bld_sample.c | 1723 lp_build_cube_imapos(struct lp_build_context *coord_bld, LLVMValueRef coord) lp_build_cube_imapos() argument 2056 lp_build_sample_partial_offset(struct lp_build_context *bld, unsigned block_length, LLVMValueRef coord, LLVMValueRef stride, LLVMValueRef *out_offset, LLVMValueRef *out_subcoord) lp_build_sample_partial_offset() argument [all...] |
| H A D | lp_bld_sample_soa.c | 236 lp_build_coord_mirror(struct lp_build_sample_context *bld, LLVMValueRef coord, boolean posOnly) lp_build_coord_mirror() argument 319 lp_build_sample_wrap_linear(struct lp_build_sample_context *bld, boolean is_gather, LLVMValueRef coord, LLVMValueRef length, LLVMValueRef length_f, LLVMValueRef offset, boolean is_pot, unsigned wrap_mode, LLVMValueRef *x0_out, LLVMValueRef *x1_out, LLVMValueRef *weight_out) lp_build_sample_wrap_linear() argument 686 lp_build_sample_wrap_nearest(struct lp_build_sample_context *bld, LLVMValueRef coord, LLVMValueRef length, LLVMValueRef length_f, LLVMValueRef offset, boolean is_pot, unsigned wrap_mode) lp_build_sample_wrap_nearest() argument [all...] |
| /third_party/mesa3d/src/gallium/auxiliary/util/ |
| H A D | u_blitter.c | 1819 union blitter_attrib coord; in blitter_draw_tex() local 2949 union blitter_attrib coord; in util_blitter_stencil_fallback() local
|
| /third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
| H A D | vktShaderRenderTextureGatherTests.cpp | 556 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::Texture2DView& texture, const tcu::Sampler& sampler, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4]) in gatherOffsets() argument 562 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::Texture2DArrayView& texture, const tcu::Sampler& sampler, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4]) in gatherOffsets() argument 568 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::TextureCubeView& texture, const tcu::Sampler& sampler, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4]) in gatherOffsets() argument 575 gatherOffsetsCompare(const tcu::Texture2DView& texture, const tcu::Sampler& sampler, float refZ, const Vec2& coord, const IVec2 (&offsets)[4]) gatherOffsetsCompare() argument 580 gatherOffsetsCompare(const tcu::Texture2DArrayView& texture, const tcu::Sampler& sampler, float refZ, const Vec3& coord, const IVec2 (&offsets)[4]) gatherOffsetsCompare() argument 585 gatherOffsetsCompare(const tcu::TextureCubeView& texture, const tcu::Sampler& sampler, float refZ, const Vec3& coord, const IVec2 (&offsets)[4]) gatherOffsetsCompare() argument 593 isGatherOffsetsResultValid(const tcu::TextureCubeView& texture, const tcu::Sampler& sampler, const PrecType& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const tcu::Vector<ColorScalarT, 4>& result) isGatherOffsetsResultValid() argument 606 isGatherOffsetsCompareResultValid(const tcu::TextureCubeView& texture, const tcu::Sampler& sampler, const tcu::TexComparePrecision& prec, const Vec3& coord, const IVec2 (&offsets)[4], float cmpReference, const Vec4& result) isGatherOffsetsCompareResultValid() argument [all...] |
| /third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/ |
| H A D | vktTessellationInvarianceTests.cpp | 783 const tcu::Vec3& coord = result.primitives[primitiveNdx].tessCoord[i].swizzle(0, 1, 2); in iterate() local 859 const tcu::Vec3& coord = result.primitives[primitiveNdx].tessCoord[i].swizzle(0, 1, 2); in iterate() local 955 const tcu::Vec3& coord = result.primitives[primitiveNdx].tessCoord[i].swizzle(0, 1, 2); iterate() local [all...] |
| /third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/robustness/ |
| H A D | vktRobustnessExtsTests.cpp | 768 static string genFetch(const CaseDef &caseDef, int numComponents, const string& vecType, const string& coord, const string& lod) in genFetch() argument 776 s << vecType << "(ubo0_1.val[" << coord << "]"; in genFetch() local 782 s << vecType << "(ssbo0_1.val[" << coord << "]"; in genFetch() local 787 s << "texelFetch(texbo0_1, " << coord << ")"; in genFetch() local 790 s << "imageLoad(image0_1, " << coord << ")"; in genFetch() local 794 s << "texelFetch(texture0_1, " << coord << ")"; in genFetch() local 799 s << "imageLoad(image0_1, " << coord << ")"; in genFetch() local 834 static string genStore(int descriptorType, const string& vecType, const string& bufType, const string& coord) in genStore() argument 855 genAtomic(int descriptorType, const string& bufType, const string& coord) genAtomic() argument 930 string coord = "ivec" + to_string(numCoords) + "("; genCoord() local 1343 string coord = genCoord("c", numCoords, m_data.samples, i); initPrograms() local 1374 string coord = genCoord("c", numCoords, m_data.samples, i); initPrograms() local [all...] |
| /third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/ |
| H A D | vktShaderRenderTextureGatherTests.cpp | 556 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::Texture2DView& texture, const tcu::Sampler& sampler, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4]) in gatherOffsets() argument 562 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::Texture2DArrayView& texture, const tcu::Sampler& sampler, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4]) in gatherOffsets() argument 568 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::TextureCubeView& texture, const tcu::Sampler& sampler, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4]) in gatherOffsets() argument 575 gatherOffsetsCompare(const tcu::Texture2DView& texture, const tcu::Sampler& sampler, float refZ, const Vec2& coord, const IVec2 (&offsets)[4]) gatherOffsetsCompare() argument 580 gatherOffsetsCompare(const tcu::Texture2DArrayView& texture, const tcu::Sampler& sampler, float refZ, const Vec3& coord, const IVec2 (&offsets)[4]) gatherOffsetsCompare() argument 585 gatherOffsetsCompare(const tcu::TextureCubeView& texture, const tcu::Sampler& sampler, float refZ, const Vec3& coord, const IVec2 (&offsets)[4]) gatherOffsetsCompare() argument 593 isGatherOffsetsResultValid(const tcu::TextureCubeView& texture, const tcu::Sampler& sampler, const PrecType& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const tcu::Vector<ColorScalarT, 4>& result) isGatherOffsetsResultValid() argument 606 isGatherOffsetsCompareResultValid(const tcu::TextureCubeView& texture, const tcu::Sampler& sampler, const tcu::TexComparePrecision& prec, const Vec3& coord, const IVec2 (&offsets)[4], float cmpReference, const Vec4& result) isGatherOffsetsCompareResultValid() argument [all...] |
| /third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/ |
| H A D | vktTessellationInvarianceTests.cpp | 771 const tcu::Vec3& coord = result.primitives[primitiveNdx].tessCoord[i].swizzle(0, 1, 2); in iterate() local 847 const tcu::Vec3& coord = result.primitives[primitiveNdx].tessCoord[i].swizzle(0, 1, 2); in iterate() local 943 const tcu::Vec3& coord = result.primitives[primitiveNdx].tessCoord[i].swizzle(0, 1, 2); iterate() local [all...] |
| /third_party/vk-gl-cts/framework/common/ |
| H A D | tcuTexLookupVerifier.cpp | 592 isNearestSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const PrecType& prec, const Vec2& coord, const int coordZ, const Vector<ScalarType, 4>& result) isNearestSampleResultValid() argument 627 isNearestSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const PrecType& prec, const Vec3& coord, const Vector<ScalarType, 4>& result) isNearestSampleResultValid() argument 720 isLinearSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const int coordZ, const Vec4& result) isLinearSampleResultValid() argument 789 isLinearSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec4& result) isLinearSampleResultValid() argument 869 isNearestMipmapLinearSampleResultValid(const ConstPixelBufferAccess& level0, const ConstPixelBufferAccess& level1, const Sampler& sampler, const LookupPrecision& prec, const float coord, const int coordY, const Vec2& fBounds, const Vec4& result) isNearestMipmapLinearSampleResultValid() argument 905 isNearestMipmapLinearSampleResultValid(const ConstPixelBufferAccess& level0, const ConstPixelBufferAccess& level1, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const int coordZ, const Vec2& fBounds, const Vec4& result) isNearestMipmapLinearSampleResultValid() argument 955 isNearestMipmapLinearSampleResultValid(const ConstPixelBufferAccess& level0, const ConstPixelBufferAccess& level1, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& fBounds, const Vec4& result) isNearestMipmapLinearSampleResultValid() argument 1098 isLinearMipmapLinearSampleResultValid(const ConstPixelBufferAccess& level0, const ConstPixelBufferAccess& level1, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const int coordZ, const Vec2& fBounds, const Vec4& result) isLinearMipmapLinearSampleResultValid() argument 1201 isLinearMipmapLinearSampleResultValid(const ConstPixelBufferAccess& level0, const ConstPixelBufferAccess& level1, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& fBounds, const Vec4& result) isLinearMipmapLinearSampleResultValid() argument 1343 isLevelSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const Sampler::FilterMode filterMode, const LookupPrecision& prec, const Vec2& coord, const int coordZ, const Vec4& result) isLevelSampleResultValid() argument 1373 isMipmapLinearSampleResultValid(const ConstPixelBufferAccess& level0, const ConstPixelBufferAccess& level1, const Sampler& sampler, const Sampler::FilterMode levelFilter, const LookupPrecision& prec, const Vec2& coord, const int coordZ, const Vec2& fBounds, const Vec4& result) isMipmapLinearSampleResultValid() argument 1389 isLookupResultValid(const Texture2DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result) isLookupResultValid() argument 1454 isLookupResultValid(const Texture1DView& texture, const Sampler& sampler, const LookupPrecision& prec, const float coord, const Vec2& lodBounds, const Vec4& result) isLookupResultValid() argument 1751 isLookupResultValid(const TextureCubeView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result) isLookupResultValid() argument 1854 isLookupResultValid(const Texture1DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result) isLookupResultValid() argument 1924 isLookupResultValid(const Texture2DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result) isLookupResultValid() argument 1994 isLevelSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const Sampler::FilterMode filterMode, const LookupPrecision& prec, const Vec3& coord, const Vec4& result) isLevelSampleResultValid() argument 2007 isMipmapLinearSampleResultValid(const ConstPixelBufferAccess& level0, const ConstPixelBufferAccess& level1, const Sampler& sampler, const Sampler::FilterMode levelFilter, const LookupPrecision& prec, const Vec3& coord, const Vec2& fBounds, const Vec4& result) isMipmapLinearSampleResultValid() argument 2022 isLookupResultValid(const Texture3DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result) isLookupResultValid() argument 2099 isLookupResultValid(const TextureCubeArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const IVec4& coordBits, const Vec4& coord, const Vec2& lodBounds, const Vec4& result) isLookupResultValid() argument 2259 computeCubeLodBoundsFromDerivates(const Vec3& coord, const Vec3& coordDx, const Vec3& coordDy, const int faceSize, const LodPrecision& prec) computeCubeLodBoundsFromDerivates() argument 2363 isLevel2DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const LookupPrecision& prec, const Vec2& coord, const int coordZ, const Vec4& result) isLevel2DLookupResultValid() argument 2375 isLevel2DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec2& coord, const int coordZ, const IVec4& result) isLevel2DLookupResultValid() argument 2388 isLevel2DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec2& coord, const int coordZ, const UVec4& result) isLevel2DLookupResultValid() argument 2401 isLevel3DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const LookupPrecision& prec, const Vec3& coord, const Vec4& result) isLevel3DLookupResultValid() argument 2412 isLevel3DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec3& coord, const IVec4& result) isLevel3DLookupResultValid() argument 2424 isLevel3DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec3& coord, const UVec4& result) isLevel3DLookupResultValid() argument 2437 isGatherOffsetsResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const PrecType& prec, const Vec2& coord, int coordZ, int componentNdx, const IVec2 (&offsets)[4], const Vector<ScalarType, 4>& result) isGatherOffsetsResultValid() argument 2479 isGatherOffsetsResultValid(const Texture2DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], const Vec4& result) isGatherOffsetsResultValid() argument 2490 isGatherOffsetsResultValid(const Texture2DView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], const IVec4& result) isGatherOffsetsResultValid() argument 2501 isGatherOffsetsResultValid(const Texture2DView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], const UVec4& result) isGatherOffsetsResultValid() argument 2513 is2DArrayGatherOffsetsResultValid(const Texture2DArrayView& texture, const Sampler& sampler, const PrecType& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const Vector<ScalarType, 4>& result) is2DArrayGatherOffsetsResultValid() argument 2530 isGatherOffsetsResultValid(const Texture2DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const Vec4& result) isGatherOffsetsResultValid() argument 2541 isGatherOffsetsResultValid(const Texture2DArrayView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const IVec4& result) isGatherOffsetsResultValid() argument 2552 isGatherOffsetsResultValid(const Texture2DArrayView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const UVec4& result) isGatherOffsetsResultValid() argument 2621 isCubeGatherResultValid(const TextureCubeView& texture, const Sampler& sampler, const PrecType& prec, const Vec3& coord, int componentNdx, const Vector<ScalarType, 4>& result) isCubeGatherResultValid() argument 2647 isGatherResultValid(const TextureCubeView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, int componentNdx, const Vec4& result) isGatherResultValid() argument 2657 isGatherResultValid(const TextureCubeView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec4& result) isGatherResultValid() argument 2667 isGatherResultValid(const TextureCubeView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const UVec4& result) isGatherResultValid() argument [all...] |
| H A D | tcuTexture.cpp | 3017 Vec2 projectToFace (CubeFace face, const Vec3& coord) in projectToFace() argument
|
| /foundation/multimodalinput/input/service/window_manager/src/ |
| H A D | input_windows_manager.cpp | 1733 TransformTipPoint(struct libinput_event_tablet_tool* tip, PhysicalCoordinate& coord, int32_t& displayId) const UpdateDisplayInfo() argument [all...] |
| /third_party/backends/backend/ |
| H A D | hp3900_types.c | 440 struct st_coords coord; /* [+12] left */ member
|
| /third_party/mesa3d/src/broadcom/vulkan/ |
| H A D | v3dv_meta_copy.c | 1776 nir_ssa_def *coord = nir_f2i32(&b, load_frag_coord(&b)); in get_texel_buffer_copy_fs() local
|
| /third_party/mesa3d/src/gallium/drivers/softpipe/ |
| H A D | sp_tex_sample.c | 119 repeat(int coord, unsigned size) in repeat() argument 495 coord_to_layer(float coord, unsigned first_layer, unsigned last_layer) in coord_to_layer() argument [all...] |
| /third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/ |
| H A D | nir_to_spirv.c | 2774 SpvId coord = get_image_coords(ctx, type, &intr->src[1]); in emit_image_deref_store() local 2831 SpvId coord = get_image_coords(ctx, type, &intr->src[1]); in emit_image_deref_load() local 2888 SpvId coord = get_image_coords(ctx, type, &intr->src[1]); in emit_image_intrinsic() local 3362 SpvId coord = 0, proj = 0, bias = 0, lod = 0, dref = 0, dx = 0, dy = 0, in emit_tex() local [all...] |
| /third_party/mesa3d/src/gallium/auxiliary/nir/ |
| H A D | nir_to_tgsi.c | 2065 struct ureg_src coord = ntt_get_src(c, instr->src[1]); in ntt_emit_image_load_store() local
|
| /third_party/mesa3d/src/gallium/drivers/panfrost/ |
| H A D | pan_cmdstream.c | 3928 bool coord = (rast->sprite_coord_mode == PIPE_SPRITE_COORD_LOWER_LEFT); in panfrost_compatible_batch_state() local
|