Home
last modified time | relevance | path

Searched refs:dimension (Results 1 - 25 of 160) sorted by relevance

1234567

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
H A Dgen_blit11helper.py39 Blit11::BlitShaderType Blit11::getBlitShaderType(BlitShaderOperation operation, ShaderDimension dimension)
82 switch (dimension)
90 template_get_blitshader_case_dimension = """ case SHADER_{dimension}:
96 "Blit11 {dimension} {shader_comment} pixel shader"));
152 def format_shader_include(dimension, blitshader):
154 filename=blitshader[2].replace("*", dimension.lower()))
159 for dimension in supported_dimensions:
160 dimension_cases.append(format_get_blitshader_case_dimension(operation, dimension))
167 def format_get_blitshader_case_dimension(operation, dimension):
169 if dimension
[all...]
H A DBlit11.h151 ShaderDimension dimension; member
178 ShaderDimension dimension);
230 ShaderDimension dimension,
242 ShaderDimension dimension,
251 ShaderDimension dimension,
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
H A DTextureViewValidationTests.cpp35 descriptor.dimension = wgpu::TextureDimension::e2D; in Create2DArrayTexture()
48 descriptor.dimension = wgpu::TextureDimension::e3D; in Create3DTexture()
67 wgpu::TextureViewDescriptor CreateDefaultViewDescriptor(wgpu::TextureViewDimension dimension) { in CreateDefaultViewDescriptor() argument
70 descriptor.dimension = dimension; in CreateDefaultViewDescriptor()
116 descriptor.dimension = wgpu::TextureViewDimension::e2DArray; in TEST_F()
124 descriptor.dimension = wgpu::TextureViewDimension::e3D; in TEST_F()
175 descriptor.dimension = wgpu::TextureViewDimension::e2D; in TEST_F()
183 descriptor.dimension = wgpu::TextureViewDimension::e2D; in TEST_F()
191 descriptor.dimension in TEST_F()
[all...]
H A DTextureValidationTests.cpp51 descriptor.dimension = wgpu::TextureDimension::e2D; in CreateDefaultTextureDescriptor()
116 descriptor.dimension = wgpu::TextureDimension::e1D; in TEST_F()
119 descriptor.dimension = wgpu::TextureDimension::e3D; in TEST_F()
232 // Non square mip map halves the resolution until a 1x1 dimension in TEST_F()
249 descriptor.dimension = wgpu::TextureDimension::e3D; in TEST_F()
250 // Non square mip map halves width, height and depth until a 1x1x1 dimension for a 3D in TEST_F()
263 // Non square mip map halves width and height until a 1x1 dimension for a 2D texture, in TEST_F()
266 descriptor.dimension = wgpu::TextureDimension::e2D; in TEST_F()
329 // Out-of-bound texture dimension is not allowed in TEST_F()
354 // Texture size less than max dimension i in TEST_F()
[all...]
H A DStorageTextureValidationTests.cpp36 static const char* GetFloatImageTypeDeclaration(wgpu::TextureViewDimension dimension) { in GetFloatImageTypeDeclaration() argument
38 switch (dimension) { in GetFloatImageTypeDeclaration()
96 wgpu::TextureDimension dimension = wgpu::TextureDimension::e2D) { in CreateTexture()
98 descriptor.dimension = dimension; in CreateTexture()
289 // Verify that declaring a storage texture dimension that isn't supported by
298 for (wgpu::TextureViewDimension dimension : kUnsupportedTextureViewDimensions) { in TEST_F()
300 CreateComputeShaderWithStorageTexture(bindingType, kFormat, dimension); in TEST_F()
306 // Verify that declaring a texture view dimension that is not supported to be used as storage
315 for (wgpu::TextureViewDimension dimension in TEST_F()
[all...]
/third_party/skia/third_party/externals/freetype/src/pshinter/
H A Dpshrec.c536 /* finalize a given dimension */
538 ps_dimension_done( PS_Dimension dimension, in ps_dimension_done() argument
541 ps_mask_table_done( &dimension->counters, memory ); in ps_dimension_done()
542 ps_mask_table_done( &dimension->masks, memory ); in ps_dimension_done()
543 ps_hint_table_done( &dimension->hints, memory ); in ps_dimension_done()
547 /* initialize a given dimension */
549 ps_dimension_init( PS_Dimension dimension ) in ps_dimension_init()
551 dimension->hints.num_hints = 0; in ps_dimension_init()
552 dimension->masks.num_masks = 0; in ps_dimension_init()
553 dimension in ps_dimension_init()
835 ps_hints_stem( PS_Hints hints, FT_UInt dimension, FT_Int count, FT_Long* stems ) ps_hints_stem() argument
883 ps_hints_t1stem3( PS_Hints hints, FT_UInt dimension, FT_Fixed* stems ) ps_hints_t1stem3() argument
1120 t1_hints_stem( T1_Hints hints, FT_UInt dimension, FT_Fixed* coords ) t1_hints_stem() argument
1164 t2_hints_stems( T2_Hints hints, FT_UInt dimension, FT_Int count, FT_Fixed* coords ) t2_hints_stems() argument
[all...]
H A Dpshalgo.c400 FT_Int dimension ) in ps_simple_scale()
414 ps_debug_hint_func( hint, dimension ); in ps_simple_scale()
439 FT_Int dimension, in psh_hint_align()
442 PSH_Dimension dim = &globals->dimension[dimension]; in psh_hint_align()
458 if ( ( dimension == 0 && !glyph->do_horz_hints ) || in psh_hint_align()
459 ( dimension == 1 && !glyph->do_vert_hints ) ) in psh_hint_align()
471 do_snapping = ( dimension == 0 && glyph->do_horz_snapping ) || in psh_hint_align()
472 ( dimension == 1 && glyph->do_vert_snapping ); in psh_hint_align()
480 if ( dimension in psh_hint_align()
437 psh_hint_align( PSH_Hint hint, PSH_Globals globals, FT_Int dimension, PSH_Glyph glyph ) psh_hint_align() argument
846 psh_hint_table_align_hints( PSH_Hint_Table table, PSH_Globals globals, FT_Int dimension, PSH_Glyph glyph ) psh_hint_table_align_hints() argument
2072 FT_Int dimension; ps_hints_apply() local
[all...]
H A Dpshglob.c44 PSH_Dimension dim = &globals->dimension[direction]; in psh_globals_scale_widths()
85 psh_dimension_snap_width( PSH_Dimension dimension,
89 FT_Pos width = FT_MulFix( org_width, dimension->scale_mult );
94 for ( n = 0; n < dimension->stdw.count; n++ )
100 w = dimension->stdw.widths[n].cur;
627 globals->dimension[0].stdw.count = 0; in psh_globals_destroy()
628 globals->dimension[1].stdw.count = 0; in psh_globals_destroy()
663 PSH_Dimension dim = &globals->dimension[1]; in psh_globals_new()
683 PSH_Dimension dim = &globals->dimension[0]; in psh_globals_new()
738 globals->dimension[ in psh_globals_new()
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DTexture.cpp108 DAWN_INVALID_IF(descriptor->dimension != wgpu::TextureDimension::e2D, in ValidateSampleCount()
109 "The dimension (%s) of a multisampled texture is not 2D.", in ValidateSampleCount()
110 descriptor->dimension); in ValidateSampleCount()
138 !IsArrayLayerValidForTextureViewDimension(descriptor->dimension, in ValidateTextureViewDimensionCompatibility()
140 "The dimension (%s) of the texture view is not compatible with the layer count " in ValidateTextureViewDimensionCompatibility()
142 descriptor->dimension, descriptor->arrayLayerCount, texture); in ValidateTextureViewDimensionCompatibility()
145 !IsTextureViewDimensionCompatibleWithTextureDimension(descriptor->dimension, in ValidateTextureViewDimensionCompatibility()
147 "The dimension (%s) of the texture view is not compatible with the dimension (%s) " in ValidateTextureViewDimensionCompatibility()
149 descriptor->dimension, textur in ValidateTextureViewDimensionCompatibility()
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DStorageTextureTests.cpp165 wgpu::TextureViewDimension dimension, in GetImageDeclaration()
170 switch (dimension) { in GetImageDeclaration()
300 wgpu::TextureViewDimension dimension = wgpu::TextureViewDimension::e2D) { in CommonReadOnlyTestCode()
305 switch (dimension) { in CommonReadOnlyTestCode()
324 ostream << GetImageDeclaration(format, "read", dimension, 0) << "\n" in CommonReadOnlyTestCode()
351 wgpu::TextureViewDimension dimension = wgpu::TextureViewDimension::e2D) { in CommonWriteOnlyTestCode()
356 switch (dimension) { in CommonWriteOnlyTestCode()
377 ostream << GetImageDeclaration(format, "write", dimension, 0) << "\n"; in CommonWriteOnlyTestCode()
406 wgpu::TextureViewDimension dimension = wgpu::TextureViewDimension::e2D) { in CommonReadWriteTestCode()
409 switch (dimension) { in CommonReadWriteTestCode()
163 GetImageDeclaration(wgpu::TextureFormat format, std::string accessQualifier, wgpu::TextureViewDimension dimension, uint32_t binding) GetImageDeclaration() argument
[all...]
H A DTextureViewTests.cpp37 descriptor.dimension = wgpu::TextureDimension::e2D; in Create2DTexture()
53 descriptor.dimension = wgpu::TextureDimension::e3D; in Create3DTexture()
132 mDefaultTextureViewDescriptor.dimension = wgpu::TextureViewDimension::e2DArray; in initTexture()
214 descriptor.dimension = wgpu::TextureViewDimension::e2D; in Texture2DViewTest()
252 descriptor.dimension = wgpu::TextureViewDimension::e2DArray;
327 wgpu::TextureViewDimension dimension = (isCubeMapArray)
332 descriptor.dimension = dimension;
365 descriptor.dimension = wgpu::TextureViewDimension::e2DArray;
468 void TextureLayerAsColorAttachmentTest(wgpu::TextureViewDimension dimension,
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
H A Dfuzzer_pass_flatten_conditional_branches.cpp127 // repeated N times, where N is the vector dimension. in Apply()
147 uint32_t dimension = in Apply()
149 switch (dimension) { in Apply()
152 dimension, in Apply()
158 dimension, in Apply()
164 dimension, in Apply()
169 assert(false && "Invalid vector dimension."); in Apply()
234 // dimension in PrepareForOpPhiOnVectors()
H A Dtransformation_flatten_conditional_branch.cpp185 uint32_t dimension = in IsApplicable()
188 dimension) == 0) { in IsApplicable()
195 switch (dimension) { in IsApplicable()
201 assert(dimension == 4 && "Invalid vector dimension."); in IsApplicable()
858 uint32_t fresh_id, uint32_t dimension, in AddBooleanVectorConstructorToBlock()
862 for (uint32_t i = 0; i < dimension; i++) { in AddBooleanVectorConstructorToBlock()
868 ir_context, fuzzerutil::MaybeGetBoolType(ir_context), dimension), in AddBooleanVectorConstructorToBlock()
910 uint32_t dimension = type_inst->GetSingleWordInOperand(1); in RewriteOpPhiInstructionsAtConvergenceBlock()
911 switch (dimension) { in RewriteOpPhiInstructionsAtConvergenceBlock()
857 AddBooleanVectorConstructorToBlock( uint32_t fresh_id, uint32_t dimension, const opt::Operand& branch_condition_operand, opt::IRContext* ir_context, opt::BasicBlock* block) AddBooleanVectorConstructorToBlock() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
H A Dfuzzer_pass_flatten_conditional_branches.cpp127 // repeated N times, where N is the vector dimension. in Apply()
147 uint32_t dimension = in Apply()
149 switch (dimension) { in Apply()
152 dimension, in Apply()
158 dimension, in Apply()
164 dimension, in Apply()
169 assert(false && "Invalid vector dimension."); in Apply()
234 // dimension in PrepareForOpPhiOnVectors()
H A Dtransformation_flatten_conditional_branch.cpp185 uint32_t dimension = in IsApplicable()
188 dimension) == 0) { in IsApplicable()
195 switch (dimension) { in IsApplicable()
201 assert(dimension == 4 && "Invalid vector dimension."); in IsApplicable()
858 uint32_t fresh_id, uint32_t dimension, in AddBooleanVectorConstructorToBlock()
862 for (uint32_t i = 0; i < dimension; i++) { in AddBooleanVectorConstructorToBlock()
868 ir_context, fuzzerutil::MaybeGetBoolType(ir_context), dimension), in AddBooleanVectorConstructorToBlock()
910 uint32_t dimension = type_inst->GetSingleWordInOperand(1); in RewriteOpPhiInstructionsAtConvergenceBlock()
911 switch (dimension) { in RewriteOpPhiInstructionsAtConvergenceBlock()
857 AddBooleanVectorConstructorToBlock( uint32_t fresh_id, uint32_t dimension, const opt::Operand& branch_condition_operand, opt::IRContext* ir_context, opt::BasicBlock* block) AddBooleanVectorConstructorToBlock() argument
[all...]
/third_party/ffmpeg/libavcodec/
H A Dsgienc.c101 unsigned int width, height, depth, dimension; in encode_frame() local
112 dimension = SGI_SINGLE_CHAN; in encode_frame()
116 dimension = SGI_MULTI_CHAN; in encode_frame()
120 dimension = SGI_MULTI_CHAN; in encode_frame()
128 dimension = SGI_SINGLE_CHAN; in encode_frame()
136 dimension = SGI_MULTI_CHAN; in encode_frame()
144 dimension = SGI_MULTI_CHAN; in encode_frame()
167 bytestream2_put_be16(&pbc, dimension); in encode_frame()
/third_party/skia/third_party/externals/freetype/src/autofit/
H A Dafhints.c342 int dimension ) in af_get_segment_index()
344 AF_AxisHints axis = &hints->axis[dimension]; in af_get_segment_index()
387 int dimension ) in af_get_edge_index()
389 AF_AxisHints axis = &hints->axis[dimension]; in af_get_edge_index()
401 int dimension ) in af_get_strong_edge_index()
403 AF_AxisHints axis = &hints->axis[dimension]; in af_get_strong_edge_index()
407 return AF_INDEX_NUM( strong_edges[dimension], edges ); in af_get_strong_edge_index()
536 FT_Int dimension; in af_glyph_hints_dump_segments() local
539 for ( dimension = 1; dimension > in af_glyph_hints_dump_segments()
598 af_glyph_hints_get_num_segments( AF_GlyphHints hints, FT_Int dimension, FT_Int* num_segments ) af_glyph_hints_get_num_segments() argument
624 af_glyph_hints_get_segment_offset( AF_GlyphHints hints, FT_Int dimension, FT_Int idx, FT_Pos *offset, FT_Bool *is_blue, FT_Pos *blue_offset ) af_glyph_hints_get_segment_offset() argument
675 FT_Int dimension; af_glyph_hints_dump_edges() local
[all...]
/third_party/spirv-tools/source/fuzz/
H A Dfuzzer_pass_flatten_conditional_branches.cpp127 // repeated N times, where N is the vector dimension. in Apply()
147 uint32_t dimension = in Apply()
149 switch (dimension) { in Apply()
152 dimension, in Apply()
158 dimension, in Apply()
164 dimension, in Apply()
169 assert(false && "Invalid vector dimension."); in Apply()
234 // dimension in PrepareForOpPhiOnVectors()
H A Dtransformation_flatten_conditional_branch.cpp185 uint32_t dimension = in IsApplicable()
188 dimension) == 0) { in IsApplicable()
195 switch (dimension) { in IsApplicable()
201 assert(dimension == 4 && "Invalid vector dimension."); in IsApplicable()
859 uint32_t fresh_id, uint32_t dimension, in AddBooleanVectorConstructorToBlock()
863 for (uint32_t i = 0; i < dimension; i++) { in AddBooleanVectorConstructorToBlock()
869 ir_context, fuzzerutil::MaybeGetBoolType(ir_context), dimension), in AddBooleanVectorConstructorToBlock()
911 uint32_t dimension = type_inst->GetSingleWordInOperand(1); in RewriteOpPhiInstructionsAtConvergenceBlock()
912 switch (dimension) { in RewriteOpPhiInstructionsAtConvergenceBlock()
858 AddBooleanVectorConstructorToBlock( uint32_t fresh_id, uint32_t dimension, const opt::Operand& branch_condition_operand, opt::IRContext* ir_context, opt::BasicBlock* block) AddBooleanVectorConstructorToBlock() argument
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/d3d12/
H A DCopySplitTests.cpp52 wgpu::TextureDimension dimension) { in ValidateFootprints()
67 if (textureSpec.depthOrArrayLayers <= 1 || dimension == wgpu::TextureDimension::e3D) { in ValidateFootprints()
192 wgpu::TextureDimension dimension) { in ValidateBufferOffset()
211 if (dimension == wgpu::TextureDimension::e2D) { in ValidateBufferOffset()
235 wgpu::TextureDimension dimension) { in ValidateCopySplit()
236 ValidateFootprints(textureSpec, bufferSpec, copySplit, dimension); in ValidateCopySplit()
241 ValidateBufferOffset(textureSpec, bufferSpec, copySplit, dimension); in ValidateCopySplit()
382 wgpu::TextureDimension dimension = GetParam(); in DoTest() local
384 switch (dimension) { in DoTest()
408 ValidateCopySplit(textureSpec, bufferSpec, copySplit, dimension); in DoTest()
49 ValidateFootprints(const TextureSpec& textureSpec, const BufferSpec& bufferSpec, const TextureCopySubresource& copySplit, wgpu::TextureDimension dimension) ValidateFootprints() argument
189 ValidateBufferOffset(const TextureSpec& textureSpec, const BufferSpec& bufferSpec, const TextureCopySubresource& copySplit, wgpu::TextureDimension dimension) ValidateBufferOffset() argument
232 ValidateCopySplit(const TextureSpec& textureSpec, const BufferSpec& bufferSpec, const TextureCopySubresource& copySplit, wgpu::TextureDimension dimension) ValidateCopySplit() argument
[all...]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
H A DRewriteArrayOfArrayOfOpaqueUniforms.cpp42 // outermost dimension. Element 0 is necessarily 1.
280 // Calculate the accumulated dimension products. See UniformData::mSubArraySizes.
284 for (size_t dimension = 0; dimension < arraySizes.size(); ++dimension)
286 data.mSubArraySizes[dimension] = runningProduct;
287 runningProduct *= arraySizes[dimension];
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
H A Dtgsi_build.c125 unsigned dimension, in tgsi_build_declaration()
143 declaration.Dimension = dimension; in tgsi_build_declaration()
859 unsigned dimension, in tgsi_build_src_register()
882 src_register.Dimension = dimension; in tgsi_build_src_register()
931 struct tgsi_dimension dimension; in tgsi_default_dimension() local
933 dimension.Indirect = 0; in tgsi_default_dimension()
934 dimension.Dimension = 0; in tgsi_default_dimension()
935 dimension.Padding = 0; in tgsi_default_dimension()
936 dimension.Index = 0; in tgsi_default_dimension()
938 return dimension; in tgsi_default_dimension()
121 tgsi_build_declaration( unsigned file, unsigned usage_mask, unsigned interpolate, unsigned dimension, unsigned semantic, unsigned invariant, unsigned local, unsigned array, unsigned atomic, unsigned mem_type, struct tgsi_header *header ) tgsi_build_declaration() argument
850 tgsi_build_src_register( unsigned file, unsigned swizzle_x, unsigned swizzle_y, unsigned swizzle_z, unsigned swizzle_w, unsigned negate, unsigned absolute, unsigned indirect, unsigned dimension, int index, struct tgsi_instruction *instruction, struct tgsi_header *header ) tgsi_build_src_register() argument
961 struct tgsi_dimension dimension; tgsi_build_dimension() local
989 tgsi_build_dst_register( unsigned file, unsigned mask, unsigned indirect, unsigned dimension, int index, struct tgsi_instruction *instruction, struct tgsi_header *header ) tgsi_build_dst_register() argument
[all...]
/third_party/skia/third_party/externals/freetype/include/freetype/internal/
H A Dpshints.h155 * dimension ::
179 FT_UInt dimension,
196 * dimension ::
213 FT_UInt dimension,
435 * either the vertical or horizontal dimension. Equivalent to the
442 * dimension ::
466 FT_UInt dimension,
642 * The function to set the dimension's stems table.
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fFramebufferDefaultStateQueryTests.cpp109 FramebufferDimensionTest (Context& context, QueryType verifier, DimensionType dimension, const char* name, const char* desc);
117 FramebufferDimensionTest::FramebufferDimensionTest (Context& context, QueryType verifier, DimensionType dimension, const char* name, const char* desc) in FramebufferDimensionTest() argument
119 , m_dimension (dimension) in FramebufferDimensionTest()
121 DE_ASSERT(dimension < DIMENSION_LAST); in FramebufferDimensionTest()
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
H A DGPUTexture.cpp45 !conv(desc.dimension, descriptor.dimension) || // in createView()

Completed in 34 milliseconds

1234567