Home
last modified time | relevance | path

Searched refs:ArraySize (Results 1 - 25 of 104) sorted by relevance

12345

/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
H A DUnrollFlatten_test.cpp57 for (size_t j = 0; j < ArraySize(badPatterns); j++) in expect()
121 expect(expectations, ArraySize(expectations)); in TEST_F()
160 expect(expectations, ArraySize(expectations)); in TEST_F()
199 expect(expectations, ArraySize(expectations)); in TEST_F()
227 expect(expectations, ArraySize(expectations)); in TEST_F()
H A DVariablePacker_test.cpp85 for (size_t tt = 0; tt < ArraySize(types); ++tt) in TEST()
137 for (size_t tt = 0; tt < ArraySize(types); ++tt) in TEST()
164 for (size_t mt = 0; mt < ArraySize(nonSqMatTypes); ++mt) in TEST()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A Dvk_internal_shaders_autogen.cpp450 ArraySize(kBlitResolve_frag_shaders), shaderFlags, shaderOut);
460 ArraySize(kBlitResolveStencilNoExport_comp_shaders), shaderFlags, shaderOut);
468 ArraySize(kConvertIndex_comp_shaders), shaderFlags, shaderOut);
478 ArraySize(kConvertIndexIndirectLineLoop_comp_shaders), shaderFlags, shaderOut);
488 ArraySize(kConvertIndirectLineLoop_comp_shaders), shaderFlags, shaderOut);
496 ArraySize(kConvertVertex_comp_shaders), shaderFlags, shaderOut);
504 ArraySize(kFullScreenTri_vert_shaders), shaderFlags, shaderOut);
512 ArraySize(kGenerateMipmap_comp_shaders), shaderFlags, shaderOut);
520 ArraySize(kImageClear_frag_shaders), shaderFlags, shaderOut);
528 ArraySize(kImageCopy_frag_shader
[all...]
H A Dvk_format_table_autogen.cpp732 initImageFallback(renderer, kInfo, ArraySize(kInfo)); in initialize()
747 initImageFallback(renderer, kInfo, ArraySize(kInfo)); in initialize()
772 initImageFallback(renderer, kInfo, ArraySize(kInfo)); in initialize()
786 initImageFallback(renderer, kInfo, ArraySize(kInfo)); in initialize()
801 initImageFallback(renderer, kInfo, ArraySize(kInfo)); in initialize()
816 initImageFallback(renderer, kInfo, ArraySize(kInfo)); in initialize()
831 initImageFallback(renderer, kInfo, ArraySize(kInfo)); in initialize()
846 initImageFallback(renderer, kInfo, ArraySize(kInfo)); in initialize()
865 initImageFallback(renderer, kInfo, ArraySize(kInfo)); in initialize()
879 initImageFallback(renderer, kInfo, ArraySize(kInf in initialize()
[all...]
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
H A DResource.cpp127 UINT ArraySize) in translate_texture_target()
129 assert(ArraySize >= 1); in translate_texture_target()
132 assert(ArraySize == 1); in translate_texture_target()
135 return ArraySize > 1 ? PIPE_TEXTURE_1D_ARRAY : PIPE_TEXTURE_1D; in translate_texture_target()
137 return ArraySize > 1 ? PIPE_TEXTURE_2D_ARRAY : PIPE_TEXTURE_2D; in translate_texture_target()
139 assert(ArraySize == 1); in translate_texture_target()
142 assert(ArraySize % 6 == 0); in translate_texture_target()
143 return ArraySize > 6 ? PIPE_TEXTURE_CUBE_ARRAY : PIPE_TEXTURE_CUBE; in translate_texture_target()
222 DebugPrintf(" ArraySize = %u\n", pCreateResource->ArraySize); in CreateResource()
126 translate_texture_target( D3D10DDIRESOURCE_TYPE ResourceDimension, UINT ArraySize) translate_texture_target() argument
[all...]
H A DOutputMerger.cpp102 ASSERT(pCreateRenderTargetView->Tex1D.ArraySize != (UINT)-1); in CreateRenderTargetView()
105 desc.u.tex.last_layer = pCreateRenderTargetView->Tex1D.ArraySize - 1 + in CreateRenderTargetView()
109 ASSERT(pCreateRenderTargetView->Tex2D.ArraySize != (UINT)-1); in CreateRenderTargetView()
112 desc.u.tex.last_layer = pCreateRenderTargetView->Tex2D.ArraySize - 1 + in CreateRenderTargetView()
122 ASSERT(pCreateRenderTargetView->TexCube.ArraySize != (UINT)-1); in CreateRenderTargetView()
125 desc.u.tex.last_layer = pCreateRenderTargetView->TexCube.ArraySize - 1 + in CreateRenderTargetView()
297 ASSERT(pCreateDepthStencilView->Tex1D.ArraySize != (UINT)-1); in CreateDepthStencilView()
300 desc.u.tex.last_layer = pCreateDepthStencilView->Tex1D.ArraySize - 1 + in CreateDepthStencilView()
304 ASSERT(pCreateDepthStencilView->Tex2D.ArraySize != (UINT)-1); in CreateDepthStencilView()
307 desc.u.tex.last_layer = pCreateDepthStencilView->Tex2D.ArraySize in CreateDepthStencilView()
[all...]
H A DShader.cpp1227 desc.u.tex.last_layer = pCreateSRView->Tex1D.ArraySize - 1 + desc.u.tex.first_layer;
1229 assert(pCreateSRView->Tex1D.ArraySize != 0 && pCreateSRView->Tex1D.ArraySize != (UINT)-1);
1235 desc.u.tex.last_layer = pCreateSRView->Tex2D.ArraySize - 1 + desc.u.tex.first_layer;
1237 assert(pCreateSRView->Tex2D.ArraySize != 0 && pCreateSRView->Tex2D.ArraySize != (UINT)-1);
1307 desc.u.tex.last_layer = pCreateSRView->Tex1D.ArraySize - 1 + desc.u.tex.first_layer;
1309 assert(pCreateSRView->Tex1D.ArraySize != 0 && pCreateSRView->Tex1D.ArraySize != (UINT)-1);
1315 desc.u.tex.last_layer = pCreateSRView->Tex2D.ArraySize
[all...]
/third_party/mesa3d/src/gallium/drivers/d3d12/
H A Dd3d12_util.h29 inline void D3D12DecomposeSubresource( UINT Subresource, UINT MipLevels, UINT ArraySize, _Out_ T& MipSlice, _Out_ U& ArraySlice, _Out_ V& PlaneSlice ) noexcept
32 ArraySlice = static_cast<U>((Subresource / MipLevels) % ArraySize);
33 PlaneSlice = static_cast<V>(Subresource / (MipLevels * ArraySize));
37 constexpr UINT D3D12CalcSubresource( UINT MipSlice, UINT ArraySlice, UINT PlaneSlice, UINT MipLevels, UINT ArraySize ) noexcept
39 return MipSlice + ArraySlice * MipLevels + PlaneSlice * MipLevels * ArraySize;
177 inline UINT16 ArraySize() const noexcept
180 { return D3D12CalcSubresource(MipSlice, ArraySlice, PlaneSlice, MipLevels, ArraySize()); }
H A Dd3d12_surface.cpp110 desc.Texture1DArray.ArraySize = tpl->u.tex.last_layer - tpl->u.tex.first_layer + 1; in initialize_dsv()
130 desc.Texture2DMSArray.ArraySize = tpl->u.tex.last_layer - tpl->u.tex.first_layer + 1; in initialize_dsv()
136 desc.Texture2DArray.ArraySize = tpl->u.tex.last_layer - tpl->u.tex.first_layer + 1; in initialize_dsv()
182 desc.Texture1DArray.ArraySize = tpl->u.tex.last_layer - tpl->u.tex.first_layer + 1; in initialize_rtv()
202 desc.Texture2DMSArray.ArraySize = tpl->u.tex.last_layer - tpl->u.tex.first_layer + 1; in initialize_rtv()
208 desc.Texture2DArray.ArraySize = tpl->u.tex.last_layer - tpl->u.tex.first_layer + 1; in initialize_rtv()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DInstancingTest.cpp167 glDrawElementsInstancedANGLE(GL_POINTS, ArraySize(kPointIndices), in runTest()
170 glDrawElementsInstancedEXT(GL_POINTS, ArraySize(kPointIndices), in runTest()
181 glDrawElementsInstancedANGLE(GL_TRIANGLES, ArraySize(kQuadIndices), in runTest()
184 glDrawElementsInstancedEXT(GL_TRIANGLES, ArraySize(kQuadIndices), in runTest()
203 glDrawElementsInstancedANGLE(GL_TRIANGLE_FAN, ArraySize(kTriFanIndices), in runTest()
206 glDrawElementsInstancedEXT(GL_TRIANGLE_FAN, ArraySize(kTriFanIndices), in runTest()
212 glDrawElementsInstancedANGLE(GL_TRIANGLE_FAN, ArraySize(kTriFanIndices), in runTest()
215 glDrawElementsInstancedEXT(GL_TRIANGLE_FAN, ArraySize(kTriFanIndices), in runTest()
523 constexpr GLsizei instances = ArraySize(transform) / 3;
551 glDrawElements(GL_LINE_STRIP, ArraySize(lineloopAsStripIndice
[all...]
H A DProgramInterfaceTest.cpp282 GLsizei propCount = static_cast<GLsizei>(ArraySize(props)); in TEST_P()
283 GLint params[ArraySize(props)]; in TEST_P()
470 GLsizei propCount = static_cast<GLsizei>(ArraySize(props)); in TEST_P()
471 GLint params[ArraySize(props)]; in TEST_P()
569 GLsizei propCount = static_cast<GLsizei>(ArraySize(props));
654 GLsizei propCount = static_cast<GLsizei>(ArraySize(props));
655 GLint params[ArraySize(props)];
743 GLsizei propCount = static_cast<GLsizei>(ArraySize(props));
859 GLsizei propCount = static_cast<GLsizei>(ArraySize(props));
973 GLsizei propCount = static_cast<GLsizei>(ArraySize(prop
[all...]
H A DBlendMinMaxTest.cpp84 for (size_t componentIdx = 0; componentIdx < ArraySize(pixel); componentIdx++) in runTest()
101 for (size_t componentIdx = 0; componentIdx < ArraySize(pixel); componentIdx++) in runTest()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
H A DExternalImageSiblingImpl11.cpp56 mIsTextureArray = (textureDesc.ArraySize > 1); in initialize()
138 rtvDesc.Texture2DArray.ArraySize = 1; in createRenderTarget()
144 rtvDesc.Texture2DMSArray.ArraySize = 1; in createRenderTarget()
177 srvDesc.Texture2DArray.ArraySize = 1; in createRenderTarget()
183 srvDesc.Texture2DArray.ArraySize = 1; in createRenderTarget()
H A DClear11.cpp111 d3d11::LazyShader<ID3D11PixelShader>(g_PS_Clear##Index, ArraySize(g_PS_Clear##Index), \
116 mVs9(g_VS_Clear_FL9, ArraySize(g_VS_Clear_FL9), "Clear11 VS FL9"), in ShaderManager()
117 mPsFloat9(g_PS_ClearFloat_FL9, ArraySize(g_PS_ClearFloat_FL9), "Clear11 PS FloatFL9"), in ShaderManager()
118 mVs(g_VS_Clear, ArraySize(g_VS_Clear), "Clear11 VS"), in ShaderManager()
119 mVsMultiview(g_VS_Multiview_Clear, ArraySize(g_VS_Multiview_Clear), "Clear11 VS Multiview"), in ShaderManager()
120 mGsMultiview(g_GS_Multiview_Clear, ArraySize(g_GS_Multiview_Clear), "Clear11 GS Multiview"), in ShaderManager()
121 mPsDepth(g_PS_ClearDepth, ArraySize(g_PS_ClearDepth), "Clear11 PS Depth"), in ShaderManager()
H A DBlit11.cpp543 ArraySize(quad2DLayout), in Blit11()
545 ArraySize(g_VS_Passthrough2D), in Blit11()
547 mQuad2DVS(g_VS_Passthrough2D, ArraySize(g_VS_Passthrough2D), "Blit11 2D vertex shader"), in Blit11()
549 ArraySize(g_PS_PassthroughDepth2D), in Blit11()
552 ArraySize(quad3DLayout), in Blit11()
554 ArraySize(g_VS_Passthrough3D), in Blit11()
556 mQuad3DVS(g_VS_Passthrough3D, ArraySize(g_VS_Passthrough3D), "Blit11 3D vertex shader"), in Blit11()
557 mQuad3DGS(g_GS_Passthrough3D, ArraySize(g_GS_Passthrough3D), "Blit11 3D geometry shader"), in Blit11()
561 ArraySize(g_VS_ResolveDepthStencil), in Blit11()
563 mResolveDepthPS(g_PS_ResolveDepth, ArraySize(g_PS_ResolveDept in Blit11()
[all...]
H A DTextureStorage11.cpp1275 desc.ArraySize = 1; in ensureTextureExists()
1543 desc.ArraySize = 1; in getSwizzleTexture()
1598 dropDesc.ArraySize = 1; in ensureDropStencilTexture()
1764 srvDesc.Texture2DArray.ArraySize = 1; in createSRVForSampler()
1987 desc.ArraySize = 1; in getSwizzleTexture()
2413 desc.ArraySize = gl::kCubeFaceCount; in ensureTextureExists()
2474 srvDesc.Texture2DArray.ArraySize = 1; in createRenderTargetSRV()
2534 rtvDesc.Texture2DArray.ArraySize = 1; in getRenderTarget()
2573 rtvDesc.Texture2DArray.ArraySize = 1; in getRenderTarget()
2591 dsvDesc.Texture2DArray.ArraySize in getRenderTarget()
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
H A DInterleavedAttributeData.cpp111 for (size_t i = 0; i < ArraySize(mPositionColorBuffer); i++) in initializeBenchmark()
157 for (size_t i = 0; i < ArraySize(mPositionColorBuffer); i++) in destroyBenchmark()
169 for (size_t i = 0; i < ArraySize(mPositionColorBuffer); i++) in drawBenchmark()
186 mPositionColorBuffer[(i + 1) % ArraySize(mPositionColorBuffer)]); in drawBenchmark()
H A DTexturesPerf.cpp295 minFilters[stateUpdateCount % ArraySize(minFilters)]); in drawBenchmark()
302 magFilters[stateUpdateCount % ArraySize(magFilters)]); in drawBenchmark()
310 wrapParameters[stateUpdateCount % ArraySize(wrapParameters)]); in drawBenchmark()
312 wrapParameters[stateUpdateCount % ArraySize(wrapParameters)]); in drawBenchmark()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DConfig_unittest.cpp133 for (size_t i = 0; i < ArraySize(testMembers); i++) in TEST()
140 for (size_t k = 0; k < ArraySize(testMembers); k++) in TEST()
155 for (size_t i = 0; i < ArraySize(testMembers); i++) in TEST()
H A DImageIndexIterator_unittest.cpp106 ASSERT_EQ(ArraySize(layerCounts), static_cast<size_t>(maxMip)); in TEST()
132 ASSERT_EQ(ArraySize(layerCounts), static_cast<size_t>(maxMip)); in TEST()
/third_party/mesa3d/src/microsoft/vulkan/
H A Ddzn_image.c423 dsv_desc.Texture1DArray.ArraySize = layer_count; in dzn_image_get_dsv_desc()
433 dsv_desc.Texture2DArray.ArraySize = layer_count; in dzn_image_get_dsv_desc()
437 dsv_desc.Texture2DMSArray.ArraySize = layer_count; in dzn_image_get_dsv_desc()
491 rtv_desc.Texture1DArray.ArraySize = layer_count; in dzn_image_get_rtv_desc()
507 rtv_desc.Texture2DArray.ArraySize = layer_count; in dzn_image_get_rtv_desc()
517 rtv_desc.Texture2DMSArray.ArraySize = layer_count; in dzn_image_get_rtv_desc()
898 iview->srv_desc.Texture1DArray.ArraySize = iview->vk.layer_count; in dzn_image_view_prepare_srv_desc()
911 iview->srv_desc.Texture2DMSArray.ArraySize = iview->vk.layer_count; in dzn_image_view_prepare_srv_desc()
917 iview->srv_desc.Texture2DArray.ArraySize = iview->vk.layer_count; in dzn_image_view_prepare_srv_desc()
975 iview->uav_desc.Texture1DArray.ArraySize in dzn_image_view_prepare_uav_desc()
[all...]
/third_party/skia/third_party/externals/spirv-cross/include/spirv_cross/
H A Dinternal_interface.hpp52 ArraySize = 1, enumerator
75 ArraySize = U, enumerator
98 ArraySize = 1, enumerator
142 ArraySize = U, enumerator
228 builtins[builtin].size = sizeof(*value.ptr) * U::ArraySize; in register_builtin()
/third_party/ffmpeg/libavutil/
H A Dhwcontext_d3d11va.c210 .ArraySize = 1, in d3d11va_alloc_single()
237 if (s->nb_surfaces_used >= texDesc.ArraySize) { in d3d11va_pool_alloc()
274 .ArraySize = ctx->initial_pool_size, in d3d11va_frames_init()
290 } else if (!(texDesc.BindFlags & D3D11_BIND_RENDER_TARGET) && texDesc.ArraySize > 0) { in d3d11va_frames_init()
364 .ArraySize = 1, in d3d11va_create_staging_texture()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/glx/
H A Dglx_utils.cpp24 XGetErrorText(display, status, buffer, ArraySize(buffer)); in XErrorToString()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
H A DInstructions.cpp525 Value *ArraySize, in createMalloc()
535 if (!ArraySize) in createMalloc()
536 ArraySize = ConstantInt::get(IntPtrTy, 1); in createMalloc()
537 else if (ArraySize->getType() != IntPtrTy) { in createMalloc()
539 ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false, in createMalloc()
542 ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false, in createMalloc()
546 if (!IsConstantOne(ArraySize)) { in createMalloc()
548 AllocSize = ArraySize; // Operan in createMalloc()
522 createMalloc(Instruction *InsertBefore, BasicBlock *InsertAtEnd, Type *IntPtrTy, Type *AllocTy, Value *AllocSize, Value *ArraySize, ArrayRef<OperandBundleDef> OpB, Function *MallocF, const Twine &Name) createMalloc() argument
610 CreateMalloc(Instruction *InsertBefore, Type *IntPtrTy, Type *AllocTy, Value *AllocSize, Value *ArraySize, Function *MallocF, const Twine &Name) CreateMalloc() argument
618 CreateMalloc(Instruction *InsertBefore, Type *IntPtrTy, Type *AllocTy, Value *AllocSize, Value *ArraySize, ArrayRef<OperandBundleDef> OpB, Function *MallocF, const Twine &Name) CreateMalloc() argument
636 CreateMalloc(BasicBlock *InsertAtEnd, Type *IntPtrTy, Type *AllocTy, Value *AllocSize, Value *ArraySize, Function *MallocF, const Twine &Name) CreateMalloc() argument
643 CreateMalloc(BasicBlock *InsertAtEnd, Type *IntPtrTy, Type *AllocTy, Value *AllocSize, Value *ArraySize, ArrayRef<OperandBundleDef> OpB, Function *MallocF, const Twine &Name) CreateMalloc() argument
1218 AllocaInst(Type *Ty, unsigned AddrSpace, Value *ArraySize, const Twine &Name, Instruction *InsertBefore) AllocaInst() argument
1223 AllocaInst(Type *Ty, unsigned AddrSpace, Value *ArraySize, const Twine &Name, BasicBlock *InsertAtEnd) AllocaInst() argument
1227 AllocaInst(Type *Ty, unsigned AddrSpace, Value *ArraySize, MaybeAlign Align, const Twine &Name, Instruction *InsertBefore) AllocaInst() argument
1238 AllocaInst(Type *Ty, unsigned AddrSpace, Value *ArraySize, MaybeAlign Align, const Twine &Name, BasicBlock *InsertAtEnd) AllocaInst() argument
[all...]

Completed in 28 milliseconds

12345