Home
last modified time | relevance | path

Searched refs:coord_type (Results 1 – 22 of 22) sorted by relevance

/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_image.cpp1097 const uint32_t coord_type = _.GetOperandTypeId(inst, 3); in ValidateImageTexelPointer() local
1098 if (!coord_type || !_.IsIntScalarOrVectorType(coord_type)) { in ValidateImageTexelPointer()
1123 const uint32_t actual_coord_size = _.GetDimension(coord_type); in ValidateImageTexelPointer()
1214 const uint32_t coord_type = _.GetOperandTypeId(inst, 3); in ValidateImageLod() local
1218 if (!_.IsFloatScalarOrVectorType(coord_type) && in ValidateImageLod()
1219 !_.IsIntScalarOrVectorType(coord_type)) { in ValidateImageLod()
1224 if (!_.IsFloatScalarOrVectorType(coord_type)) { in ValidateImageLod()
1231 const uint32_t actual_coord_size = _.GetDimension(coord_type); in ValidateImageLod()
1300 const uint32_t coord_type = _.GetOperandTypeId(inst, 3); in ValidateImageDrefLod() local
1301 if (!_.IsFloatScalarOrVectorType(coord_type)) { in ValidateImageDrefLod()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_image.cpp1097 const uint32_t coord_type = _.GetOperandTypeId(inst, 3); in ValidateImageTexelPointer() local
1098 if (!coord_type || !_.IsIntScalarOrVectorType(coord_type)) { in ValidateImageTexelPointer()
1123 const uint32_t actual_coord_size = _.GetDimension(coord_type); in ValidateImageTexelPointer()
1214 const uint32_t coord_type = _.GetOperandTypeId(inst, 3); in ValidateImageLod() local
1218 if (!_.IsFloatScalarOrVectorType(coord_type) && in ValidateImageLod()
1219 !_.IsIntScalarOrVectorType(coord_type)) { in ValidateImageLod()
1224 if (!_.IsFloatScalarOrVectorType(coord_type)) { in ValidateImageLod()
1231 const uint32_t actual_coord_size = _.GetDimension(coord_type); in ValidateImageLod()
1300 const uint32_t coord_type = _.GetOperandTypeId(inst, 3); in ValidateImageDrefLod() local
1301 if (!_.IsFloatScalarOrVectorType(coord_type)) { in ValidateImageDrefLod()
[all …]
/third_party/spirv-tools/source/val/
Dvalidate_image.cpp1110 const uint32_t coord_type = _.GetOperandTypeId(inst, 3); in ValidateImageTexelPointer() local
1111 if (!coord_type || !_.IsIntScalarOrVectorType(coord_type)) { in ValidateImageTexelPointer()
1136 const uint32_t actual_coord_size = _.GetDimension(coord_type); in ValidateImageTexelPointer()
1229 const uint32_t coord_type = _.GetOperandTypeId(inst, 3); in ValidateImageLod() local
1233 if (!_.IsFloatScalarOrVectorType(coord_type) && in ValidateImageLod()
1234 !_.IsIntScalarOrVectorType(coord_type)) { in ValidateImageLod()
1239 if (!_.IsFloatScalarOrVectorType(coord_type)) { in ValidateImageLod()
1246 const uint32_t actual_coord_size = _.GetDimension(coord_type); in ValidateImageLod()
1338 const uint32_t coord_type = _.GetOperandTypeId(inst, 3); in ValidateImageDrefLod() local
1339 if (!_.IsFloatScalarOrVectorType(coord_type)) { in ValidateImageDrefLod()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample.c589 if (bld->coord_type.length > 4) { in lp_build_rho()
887 if (bld->num_lods != bld->coord_type.length) in lp_build_lod_selector()
969 if (bld->num_lods != bld->coord_type.length) in lp_build_lod_selector()
1484 struct lp_type coord_type, in lp_build_extract_image_sizes() argument
1497 coord_type, in lp_build_extract_image_sizes()
1503 coord_type, in lp_build_extract_image_sizes()
1509 coord_type, in lp_build_extract_image_sizes()
1531 assert(bld->num_mips == bld->coord_type.length); in lp_build_extract_image_sizes()
1533 coord_type, size, 0); in lp_build_extract_image_sizes()
1536 coord_type, size, 1); in lp_build_extract_image_sizes()
[all …]
Dlp_bld_sample.h400 struct lp_type coord_type; member
637 struct lp_type coord_type,
Dlp_bld_sample_soa.c894 bld->coord_type, in lp_build_sample_image_nearest()
1077 bld->coord_type, in lp_build_sample_image_linear()
1898 if (bld->num_lods != bld->coord_type.length) in lp_build_sample_mipmap()
2016 if (bld->num_lods != bld->coord_type.length) in lp_build_sample_mipmap_both()
3040 if (bld->num_lods != bld->coord_type.length) { in lp_build_sample_general()
3401 bld.coord_type = type; in lp_build_sample_soa_code()
3548 lp_build_context_init(&bld.coord_bld, gallivm, bld.coord_type); in lp_build_sample_soa_code()
3780 bld4.coord_type = type4; in lp_build_sample_soa_code()
3831 lp_build_context_init(&bld4.coord_bld, gallivm, bld4.coord_type); in lp_build_sample_soa_code()
Dlp_bld_sample_aos.c1071 unsigned num_chans_per_lod = 4 * bld->coord_type.length / bld->num_lods; in lp_build_sample_mipmap()
/third_party/mesa3d/src/gallium/drivers/r600/sb/
Dsb_bc_builder.cpp539 .COORD_TYPE_X(bc.coord_type[0]) in build_fetch_tex()
540 .COORD_TYPE_Y(bc.coord_type[1]) in build_fetch_tex()
541 .COORD_TYPE_Z(bc.coord_type[2]) in build_fetch_tex()
542 .COORD_TYPE_W(bc.coord_type[3]) in build_fetch_tex()
Dsb_bc_decoder.cpp474 bc.coord_type[0] = w1.get_COORD_TYPE_X(); in decode_fetch()
475 bc.coord_type[1] = w1.get_COORD_TYPE_Y(); in decode_fetch()
476 bc.coord_type[2] = w1.get_COORD_TYPE_Z(); in decode_fetch()
477 bc.coord_type[3] = w1.get_COORD_TYPE_W(); in decode_fetch()
Dsb_bc_dump.cpp544 s << (n.bc.coord_type[k] ? "N" : "U"); in dump()
Dsb_bc.h592 unsigned coord_type[4]; member
/third_party/spirv-tools/source/opt/
Dgraphics_robust_access_pass.cpp915 const analysis::Type* coord_type = type_mgr->GetType(coord->type_id()); in ClampCoordinateForImageTexelPointer()
916 if (auto* vector_type = coord_type->AsVector()) { in ClampCoordinateForImageTexelPointer()
919 return coord_type->AsInteger(); in ClampCoordinateForImageTexelPointer()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dgraphics_robust_access_pass.cpp919 const analysis::Type* coord_type = type_mgr->GetType(coord->type_id()); in ClampCoordinateForImageTexelPointer()
920 if (auto* vector_type = coord_type->AsVector()) { in ClampCoordinateForImageTexelPointer()
923 return coord_type->AsInteger(); in ClampCoordinateForImageTexelPointer()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dgraphics_robust_access_pass.cpp919 const analysis::Type* coord_type = type_mgr->GetType(coord->type_id()); in ClampCoordinateForImageTexelPointer()
920 if (auto* vector_type = coord_type->AsVector()) { in ClampCoordinateForImageTexelPointer()
923 return coord_type->AsInteger(); in ClampCoordinateForImageTexelPointer()
/third_party/skia/third_party/externals/tint/src/inspector/
Dinspector_test.cc2155 auto* coord_type = GetCoordsType(GetParam().type_dim, ty.f32()); in TEST_P() local
2156 AddGlobalVariable("foo_coords", coord_type); in TEST_P()
2213 auto* coord_type = GetCoordsType(GetParam().type_dim, ty.f32()); in TEST_P() local
2214 AddGlobalVariable("foo_coords", coord_type); in TEST_P()
2256 auto* coord_type = GetCoordsType(GetParam().type_dim, ty.i32()); in TEST_P() local
2257 AddGlobalVariable("foo_coords", coord_type); in TEST_P()
2326 auto* coord_type = GetCoordsType(GetParam().type_dim, ty.f32()); in TEST_P() local
2327 AddGlobalVariable("foo_coords", coord_type); in TEST_P()
/third_party/mesa3d/src/intel/compiler/
Dbrw_vec4_nir.cpp1964 const glsl_type *coord_type = NULL; in nir_emit_texture() local
1995 coord_type = glsl_type::ivec(src_size); in nir_emit_texture()
2001 coord_type = glsl_type::vec(src_size); in nir_emit_texture()
2073 assert(coord_type != NULL); in nir_emit_texture()
2076 mcs = emit_mcs_fetch(coord_type, coordinate, texture_reg); in nir_emit_texture()
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_msl.cpp9503 auto &coord_type = expression_type(args.coord); in to_function_args() local
9504 bool coord_is_fp = type_is_floating_point(coord_type); in to_function_args()
9514 if (coord_type.vecsize > 1) in to_function_args()
9519 else if (sampling_type_needs_f32_conversion(coord_type)) in to_function_args()
9534 if (coord_type.vecsize > 1) in to_function_args()
9570 if (coord_type.vecsize > 2) in to_function_args()
9575 else if (sampling_type_needs_f32_conversion(coord_type)) in to_function_args()
9582 if (coord_type.vecsize > 3) in to_function_args()
9587 else if (sampling_type_needs_f32_conversion(coord_type)) in to_function_args()
9602 if (coord_type.vecsize > 3) in to_function_args()
[all …]
Dspirv_hlsl.cpp3046 auto &coord_type = expression_type(coord); in emit_texture_op() local
3047 if (coord_components != coord_type.vecsize) in emit_texture_op()
Dspirv_glsl.cpp7030 auto &coord_type = expression_type(args.coord); in to_function_args() local
7031 if (coord_type.basetype == SPIRType::UInt) in to_function_args()
7033 auto expected_type = coord_type; in to_function_args()
7036 coord_expr = bitcast_expression(expected_type, coord_type.basetype, coord_expr); in to_function_args()
/third_party/mesa3d/src/compiler/glsl/
Dbuiltin_functions.cpp1209 const glsl_type *coord_type,
1218 const glsl_type *coord_type,
7132 const glsl_type *coord_type, in _texture() argument
7136 ir_variable *P = in_var(coord_type, "P"); in _texture()
7147 if (coord_size == coord_type->vector_elements) { in _texture()
7158 tex->projector = swizzle(P, coord_type->vector_elements - 1, 1); in _texture()
7312 const glsl_type *coord_type, in _texelFetch() argument
7317 ir_variable *P = in_var(coord_type, "P"); in _texelFetch()
7435 const glsl_type *coord_type) in _textureQueryLod() argument
7438 ir_variable *coord = in_var(coord_type, "coord"); in _textureQueryLod()
[all …]
/third_party/mesa3d/src/amd/llvm/
Dac_llvm_build.c2166 … LLVMTypeRef coord_type = sample ? (a->a16 ? ctx->f16 : ctx->f32) : (a->a16 ? ctx->i16 : ctx->i32); in ac_build_image_opcode() local
2211 args[num_args++] = LLVMBuildBitCast(ctx->builder, a->coords[i], coord_type, ""); in ac_build_image_opcode()
2213 args[num_args++] = LLVMBuildBitCast(ctx->builder, a->lod, coord_type, ""); in ac_build_image_opcode()
2215 args[num_args++] = LLVMBuildBitCast(ctx->builder, a->min_lod, coord_type, ""); in ac_build_image_opcode()
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h23462 u64 coord_type; member
23504 u64 coord_type; member