Home
last modified time | relevance | path

Searched refs:ArraySize (Results 1 – 25 of 183) sorted by relevance

12345678

/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_format_table_autogen.cpp724 initImageFallback(renderer, kInfo, ArraySize(kInfo)); in initialize()
740 initImageFallback(renderer, kInfo, ArraySize(kInfo)); in initialize()
768 initImageFallback(renderer, kInfo, ArraySize(kInfo)); in initialize()
784 initImageFallback(renderer, kInfo, ArraySize(kInfo)); in initialize()
801 initImageFallback(renderer, kInfo, ArraySize(kInfo)); in initialize()
818 initImageFallback(renderer, kInfo, ArraySize(kInfo)); in initialize()
834 initImageFallback(renderer, kInfo, ArraySize(kInfo)); in initialize()
850 initImageFallback(renderer, kInfo, ArraySize(kInfo)); in initialize()
871 initImageFallback(renderer, kInfo, ArraySize(kInfo)); in initialize()
887 initImageFallback(renderer, kInfo, ArraySize(kInfo)); in initialize()
[all …]
Dvk_internal_shaders_autogen.cpp339 ArraySize(kBlitResolve_frag_shaders), shaderFlags, shaderOut); in getBlitResolve_frag()
349 ArraySize(kBlitResolveStencilNoExport_comp_shaders), shaderFlags, shaderOut); in getBlitResolveStencilNoExport_comp()
357 ArraySize(kBufferUtils_comp_shaders), shaderFlags, shaderOut); in getBufferUtils_comp()
365 ArraySize(kConvertIndex_comp_shaders), shaderFlags, shaderOut); in getConvertIndex_comp()
373 ArraySize(kConvertVertex_comp_shaders), shaderFlags, shaderOut); in getConvertVertex_comp()
381 ArraySize(kFullScreenQuad_vert_shaders), shaderFlags, shaderOut); in getFullScreenQuad_vert()
389 ArraySize(kImageClear_frag_shaders), shaderFlags, shaderOut); in getImageClear_frag()
397 ArraySize(kImageCopy_frag_shaders), shaderFlags, shaderOut); in getImageCopy_frag()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_internal_shaders_autogen.cpp450 ArraySize(kBlitResolve_frag_shaders), shaderFlags, shaderOut); in getBlitResolve_frag()
460 ArraySize(kBlitResolveStencilNoExport_comp_shaders), shaderFlags, shaderOut); in getBlitResolveStencilNoExport_comp()
468 ArraySize(kConvertIndex_comp_shaders), shaderFlags, shaderOut); in getConvertIndex_comp()
478 ArraySize(kConvertIndexIndirectLineLoop_comp_shaders), shaderFlags, shaderOut); in getConvertIndexIndirectLineLoop_comp()
488 ArraySize(kConvertIndirectLineLoop_comp_shaders), shaderFlags, shaderOut); in getConvertIndirectLineLoop_comp()
496 ArraySize(kConvertVertex_comp_shaders), shaderFlags, shaderOut); in getConvertVertex_comp()
504 ArraySize(kFullScreenTri_vert_shaders), shaderFlags, shaderOut); in getFullScreenTri_vert()
512 ArraySize(kGenerateMipmap_comp_shaders), shaderFlags, shaderOut); in getGenerateMipmap_comp()
520 ArraySize(kImageClear_frag_shaders), shaderFlags, shaderOut); in getImageClear_frag()
528 ArraySize(kImageCopy_frag_shaders), shaderFlags, shaderOut); in getImageCopy_frag()
[all …]
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(kInfo)); in initialize()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
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()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/compiler_tests/
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()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
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; in TEST_P()
551 glDrawElements(GL_LINE_STRIP, ArraySize(lineloopAsStripIndices), GL_UNSIGNED_SHORT, in TEST_P()
[all …]
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)); in TEST_P()
654 GLsizei propCount = static_cast<GLsizei>(ArraySize(props)); in TEST_P()
655 GLint params[ArraySize(props)]; in TEST_P()
743 GLsizei propCount = static_cast<GLsizei>(ArraySize(props)); in TEST_P()
859 GLsizei propCount = static_cast<GLsizei>(ArraySize(props)); in TEST_P()
973 GLsizei propCount = static_cast<GLsizei>(ArraySize(props)); in TEST_P()
[all …]
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_util.h29 inline void D3D12DecomposeSubresource( UINT Subresource, UINT MipLevels, UINT ArraySize, _Out_ T& M… in D3D12DecomposeSubresource() argument
32 ArraySlice = static_cast<U>((Subresource / MipLevels) % ArraySize); in D3D12DecomposeSubresource()
33 PlaneSlice = static_cast<V>(Subresource / (MipLevels * ArraySize)); in D3D12DecomposeSubresource()
37 …esource( UINT MipSlice, UINT ArraySlice, UINT PlaneSlice, UINT MipLevels, UINT ArraySize ) noexcept in D3D12CalcSubresource() argument
39 return MipSlice + ArraySlice * MipLevels + PlaneSlice * MipLevels * ArraySize; in D3D12CalcSubresource()
177 inline UINT16 ArraySize() const noexcept in ArraySize() function
180 { return D3D12CalcSubresource(MipSlice, ArraySlice, PlaneSlice, MipLevels, ArraySize()); } in CalcSubresource()
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/mesa3d/src/gallium/frontends/d3d10umd/
DResource.cpp127 UINT ArraySize) in translate_texture_target() argument
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()
272 pCreateResource->ArraySize ); in CreateResource()
[all …]
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 - 1 + in CreateDepthStencilView()
[all …]
DShader.cpp1227 desc.u.tex.last_layer = pCreateSRView->Tex1D.ArraySize - 1 + desc.u.tex.first_layer; in CreateShaderResourceView()
1229 assert(pCreateSRView->Tex1D.ArraySize != 0 && pCreateSRView->Tex1D.ArraySize != (UINT)-1); in CreateShaderResourceView()
1235 desc.u.tex.last_layer = pCreateSRView->Tex2D.ArraySize - 1 + desc.u.tex.first_layer; in CreateShaderResourceView()
1237 assert(pCreateSRView->Tex2D.ArraySize != 0 && pCreateSRView->Tex2D.ArraySize != (UINT)-1); in CreateShaderResourceView()
1307 desc.u.tex.last_layer = pCreateSRView->Tex1D.ArraySize - 1 + desc.u.tex.first_layer; in CreateShaderResourceView1()
1309 assert(pCreateSRView->Tex1D.ArraySize != 0 && pCreateSRView->Tex1D.ArraySize != (UINT)-1); in CreateShaderResourceView1()
1315 desc.u.tex.last_layer = pCreateSRView->Tex2D.ArraySize - 1 + desc.u.tex.first_layer; in CreateShaderResourceView1()
1317 assert(pCreateSRView->Tex2D.ArraySize != 0 && pCreateSRView->Tex2D.ArraySize != (UINT)-1); in CreateShaderResourceView1()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
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()
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()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DProgramInterfaceTest.cpp216 GLsizei propCount = static_cast<GLsizei>(ArraySize(props)); in TEST_P()
217 GLint params[ArraySize(props)]; in TEST_P()
400 GLsizei propCount = static_cast<GLsizei>(ArraySize(props)); in TEST_P()
401 GLint params[ArraySize(props)]; in TEST_P()
498 GLsizei propCount = static_cast<GLsizei>(ArraySize(props)); in TEST_P()
577 GLsizei propCount = static_cast<GLsizei>(ArraySize(props)); in TEST_P()
578 GLint params[ArraySize(props)]; in TEST_P()
659 GLsizei propCount = static_cast<GLsizei>(ArraySize(props)); in TEST_P()
774 GLsizei propCount = static_cast<GLsizei>(ArraySize(props)); in TEST_P()
887 GLsizei propCount = static_cast<GLsizei>(ArraySize(props)); in TEST_P()
[all …]
DInstancingTest.cpp162 glDrawElementsInstancedANGLE(GL_POINTS, ArraySize(kPointIndices), in runTest()
165 glDrawElementsInstancedEXT(GL_POINTS, ArraySize(kPointIndices), in runTest()
176 glDrawElementsInstancedANGLE(GL_TRIANGLES, ArraySize(kQuadIndices), in runTest()
179 glDrawElementsInstancedEXT(GL_TRIANGLES, ArraySize(kQuadIndices), in runTest()
452 glDrawElementsInstanced(GL_TRIANGLES, ArraySize(kQuadIndices), GL_UNSIGNED_SHORT, kQuadIndices, in TEST_P()
473 glDrawElementsInstanced(GL_TRIANGLES, ArraySize(kQuadIndices), GL_UNSIGNED_SHORT, kQuadIndices, in TEST_P()
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
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()
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/flutter/skia/third_party/externals/angle2/src/tests/perf_tests/
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()
DTexturesPerf.cpp249 minFilters[stateUpdateCount % ArraySize(minFilters)]); in drawBenchmark()
256 magFilters[stateUpdateCount % ArraySize(magFilters)]); in drawBenchmark()
264 wrapParameters[stateUpdateCount % ArraySize(wrapParameters)]); in drawBenchmark()
266 wrapParameters[stateUpdateCount % ArraySize(wrapParameters)]); in drawBenchmark()
/third_party/mesa3d/src/microsoft/vulkan/
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 = iview->vk.layer_count; in dzn_image_view_prepare_uav_desc()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DFramebufferD3D.cpp39 for (unsigned int i = 0; i < ArraySize(clearParams.clearColor); i++) in GetClearParameters()
62 for (unsigned int i = 0; i < ArraySize(clearParams.clearColor); i++) in GetClearParameters()
117 for (unsigned int i = 0; i < ArraySize(clearParams.clearColor); i++) in clearBufferfv()
141 for (unsigned int i = 0; i < ArraySize(clearParams.clearColor); i++) in clearBufferuiv()
161 for (unsigned int i = 0; i < ArraySize(clearParams.clearColor); i++) in clearBufferiv()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
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()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
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()

12345678