/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/query_pool/ |
H A D | vktQueryPoolFragInvocationTests.cpp | 62 const QueryType queryType; member 81 if (params.queryType == QueryType::OCCLUSION) in checkSupport() 83 else if (params.queryType == QueryType::INVOCATIONS) in checkSupport() 142 const bool isInvQuery = (params.queryType == QueryType::INVOCATIONS); in testInvocations() 143 const auto queryType = (isInvQuery ? VK_QUERY_TYPE_PIPELINE_STATISTICS : VK_QUERY_TYPE_OCCLUSION); in testInvocations() local 152 queryType, // VkQueryType queryType; in testInvocations() 184 ((queryType == VK_QUERY_TYPE_OCCLUSION) ? VK_TRUE : VK_FALSE), // VkBool32 occlusionQueryEnable; in testInvocations() 282 for (const auto queryType : { QueryType::OCCLUSION, QueryType::INVOCATIONS }) in createFragInvocationTests() 284 const auto groupName = getQueryTypeName(queryType); in createFragInvocationTests() [all...] |
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsTextureStateQueryTests.hpp | 78 tcu::TestCase* createTexParamTest (tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const std::string& name, const std::string& description, StateQueryUtil::QueryType queryType, glw::GLenum target, TesterType tester); 79 tcu::TestCase* createSamplerParamTest (tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const std::string& name, const std::string& description, StateQueryUtil::QueryType queryType, TesterType tester);
|
H A D | glsTextureStateQueryTests.cpp | 2540 tcu::TestCase* createTexParamTest (tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const std::string& name, const std::string& description, QueryType queryType, glw::GLenum target, TesterType tester) in createTexParamTest() argument 2566 return new TextureSwizzleCase(testCtx, renderCtx, name.c_str(), description.c_str(), target, tester, queryType); in createTexParamTest() 2571 return new TextureWrapCase(testCtx, renderCtx, name.c_str(), description.c_str(), target, tester, queryType); in createTexParamTest() 2575 return new TextureFilterCase(testCtx, renderCtx, name.c_str(), description.c_str(), target, tester, queryType); in createTexParamTest() 2579 return new TextureLODCase(testCtx, renderCtx, name.c_str(), description.c_str(), target, tester, queryType); in createTexParamTest() 2583 return new TextureLevelCase(testCtx, renderCtx, name.c_str(), description.c_str(), target, tester, queryType); in createTexParamTest() 2586 return new TextureCompareModeCase(testCtx, renderCtx, name.c_str(), description.c_str(), target, tester, queryType); in createTexParamTest() 2589 return new TextureCompareFuncCase(testCtx, renderCtx, name.c_str(), description.c_str(), target, tester, queryType); in createTexParamTest() 2592 return new TextureImmutableLevelsCase(testCtx, renderCtx, name.c_str(), description.c_str(), target, queryType); in createTexParamTest() 2595 return new TextureImmutableFormatCase(testCtx, renderCtx, name.c_str(), description.c_str(), target, queryType); in createTexParamTest() 2621 createSamplerParamTest(tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const std::string& name, const std::string& description, StateQueryUtil::QueryType queryType, TesterType tester) createSamplerParamTest() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shader_object/ |
H A D | vktShaderObjectBinaryTests.cpp | 58 QueryType queryType; member 292 if (m_params.queryType == SAME_SHADER) in iterate() 298 else if (m_params.queryType == NEW_SHADER) in iterate() 305 else if (m_params.queryType == SHADER_FROM_BINARY) in iterate() 312 else if (m_params.queryType == NEW_DEVICE || m_params.queryType == DEVICE_NO_EXTS_FEATURES) in iterate() 318 if (m_params.queryType == DEVICE_NO_EXTS_FEATURES) in iterate() 1036 std::string getName (QueryType queryType) in getName() argument 1038 switch (queryType) { in getName() 1105 for (const auto& queryType in createShaderObjectBinaryTests() [all...] |
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_acceleration_structure.c | 185 VkQueryType queryType, in anv_WriteAccelerationStructuresPropertiesKHR() 246 VkQueryType queryType, in anv_CmdWriteAccelerationStructuresPropertiesKHR() 181 anv_WriteAccelerationStructuresPropertiesKHR( VkDevice _device, uint32_t accelerationStructureCount, const VkAccelerationStructureKHR* pAccelerationStructures, VkQueryType queryType, size_t dataSize, void* pData, size_t stride) anv_WriteAccelerationStructuresPropertiesKHR() argument 242 anv_CmdWriteAccelerationStructuresPropertiesKHR( VkCommandBuffer commandBuffer, uint32_t accelerationStructureCount, const VkAccelerationStructureKHR* pAccelerationStructures, VkQueryType queryType, VkQueryPool queryPool, uint32_t firstQuery) anv_CmdWriteAccelerationStructuresPropertiesKHR() argument
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | queryconversions.cpp | 60 GLenum queryType = GLTypeToGLenum<QueryT>::value; in CastQueryValueToInt() local 62 if (queryType == GL_FLOAT) in CastQueryValueToInt() 106 GLenum queryType = GLTypeToGLenum<QueryT>::value; in CastFromStateValue() local 108 switch (queryType) in CastFromStateValue()
|
H A D | GLES1State.cpp | 251 GLint GLES1State::getCurrentMatrixStackDepth(GLenum queryType) const in getCurrentMatrixStackDepth() 253 switch (queryType) in getCurrentMatrixStackDepth()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fIntegerStateQueryTests.cpp | 2032 const QueryType queryType = (QUERYTYPES)[_queryTypeNdx]; \ 2206 FOR_EACH_QUERYTYPE(queryTypes, addChild(new BufferBindingTestCase (m_context, queryType, (std::string("array_buffer_binding") + getQueryTypeSuffix(queryType)).c_str(), "ARRAY_BUFFER_BINDING", GL_ARRAY_BUFFER_BINDING, GL_ARRAY_BUFFER))); in init() 2207 FOR_EACH_QUERYTYPE(queryTypes, addChild(new BufferBindingTestCase (m_context, queryType, (std::string("element_array_buffer_binding") + getQueryTypeSuffix(queryType)).c_str(), "ELEMENT_ARRAY_BUFFER_BINDING", GL_ELEMENT_ARRAY_BUFFER_BINDING, GL_ELEMENT_ARRAY_BUFFER))); in init() 2209 FOR_EACH_QUERYTYPE(queryTypes, addChild(new CurrentProgramBindingTestCase (m_context, queryType, (std::string("current_program_binding") + getQueryTypeSuffix(queryType)).c_str(), "CURRENT_PROGRAM"))); in init() 2212 FOR_EACH_QUERYTYPE(queryTypes, addChild(new RenderbufferBindingTestCase (m_context, queryType, (std::string("renderbuffer_binding") + getQueryTypeSuffix(queryType)).c_str(), "RENDERBUFFER_BINDING"))); in init() 2214 FOR_EACH_QUERYTYPE(queryTypes, addChild(new TextureBindingTestCase (m_context, queryType, (st in init() [all...] |
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
H A D | lvp_query.c | 36 switch (pCreateInfo->queryType) { in lvp_CreateQueryPool() 66 pool->type = pCreateInfo->queryType; in lvp_CreateQueryPool()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fIntegerStateQueryTests.cpp | 2744 const QueryType queryType = (QUERYTYPES)[_queryTypeNdx]; \ 3017 FOR_EACH_QUERYTYPE(queryTypes, addChild(new BufferBindingTestCase(m_context, queryType, (std::string(bufferBindingStates[testNdx].name) + getQueryTypeSuffix(queryType)).c_str(), bufferBindingStates[testNdx].description, bufferBindingStates[testNdx].target, bufferBindingStates[testNdx].type))); in init() 3020 FOR_EACH_QUERYTYPE(queryTypes, addChild(new ElementArrayBufferBindingTestCase (m_context, queryType, (std::string("element_array_buffer_binding") + getQueryTypeSuffix(queryType)).c_str()))); in init() 3021 FOR_EACH_QUERYTYPE(queryTypes, addChild(new TransformFeedbackBindingTestCase (m_context, queryType, (std::string("transform_feedback_binding") + getQueryTypeSuffix(queryType)).c_str()))); in init() 3022 FOR_EACH_QUERYTYPE(queryTypes, addChild(new CurrentProgramBindingTestCase (m_context, queryType, (std::string("current_program_binding") + getQueryTypeSuffix(queryType)).c_str(), "CURRENT_PROGRAM"))); in init() 3023 FOR_EACH_QUERYTYPE(queryTypes, addChild(new VertexArrayBindingTestCase (m_context, queryType, (st in init() [all...] |
/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dv_query.c | 178 assert(pCreateInfo->queryType == VK_QUERY_TYPE_OCCLUSION || in v3dv_CreateQueryPool() 179 pCreateInfo->queryType == VK_QUERY_TYPE_TIMESTAMP || in v3dv_CreateQueryPool() 180 pCreateInfo->queryType == VK_QUERY_TYPE_PERFORMANCE_QUERY_KHR); in v3dv_CreateQueryPool() 189 pool->query_type = pCreateInfo->queryType; in v3dv_CreateQueryPool()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
H A D | QuerySetVk.cpp | 81 createInfo.queryType = VulkanQueryType(GetQueryType()); in Initialize()
|
/third_party/mesa3d/src/microsoft/vulkan/ |
H A D | dzn_query.c | 110 qpool->heap_type = desc.Type = dzn_query_pool_get_heap_type(info->queryType); in dzn_query_pool_create() 123 switch (info->queryType) { in dzn_query_pool_create()
|
/third_party/mesa3d/src/imagination/vulkan/ |
H A D | pvr_query.c | 57 assert(pCreateInfo->queryType == VK_QUERY_TYPE_OCCLUSION); in pvr_CreateQueryPool()
|
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_query_pool.c | 40 switch (pCreateInfo->queryType) { in vn_CreateQueryPool()
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
H A D | VkQueryPool.cpp | 85 , type(pCreateInfo->queryType) in QueryPool()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fDebugTests.cpp | 2999 const QueryType queryType = QUERY_BOOLEAN; \ 3004 const QueryType queryType = QUERY_INTEGER; \ 3009 const QueryType queryType = QUERY_INTEGER64; \ 3014 const QueryType queryType = QUERY_FLOAT; \ 3024 const QueryType queryType = QUERY_ISENABLED; \ 3036 limits[ndx].target, limits[ndx].limit, queryType))); 3039 FOR_ALL_ENABLE_TYPES(queries->addChild(new IsEnabledCase (m_context, (std::string("debug_output") + postfix).c_str(), "Test DEBUG_OUTPUT", GL_DEBUG_OUTPUT, IsEnabledCase::INITIAL_CTX_IS_DEBUG, queryType))); 3040 FOR_ALL_ENABLE_TYPES(queries->addChild(new IsEnabledCase (m_context, (std::string("debug_output_synchronous") + postfix).c_str(), "Test DEBUG_OUTPUT_SYNCHRONOUS", GL_DEBUG_OUTPUT_SYNCHRONOUS, IsEnabledCase::INITIAL_FALSE, queryType))); 3042 FOR_ALL_TYPES(queries->addChild(new PositiveIntegerCase (m_context, (std::string("debug_logged_messages") + postfix).c_str(), "Test DEBUG_LOGGED_MESSAGES", GL_DEBUG_LOGGED_MESSAGES, queryType))); 3043 FOR_ALL_TYPES(queries->addChild(new PositiveIntegerCase (m_context, (std::string("debug_next_logged_message_length") + postfix).c_str(), "Test DEBUG_NEXT_LOGGED_MESSAGE_LENGTH", GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH, queryType))); [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | ContextVk.cpp | 4901 vk::DynamicQueryPool *ContextVk::getQueryPool(gl::QueryType queryType) in getQueryPool() argument 4903 ASSERT(queryType == gl::QueryType::AnySamples || in getQueryPool() 4904 queryType == gl::QueryType::AnySamplesConservative || in getQueryPool() 4905 queryType == gl::QueryType::PrimitivesGenerated || in getQueryPool() 4906 queryType == gl::QueryType::TransformFeedbackPrimitivesWritten || in getQueryPool() 4907 queryType == gl::QueryType::Timestamp || queryType == gl::QueryType::TimeElapsed); in getQueryPool() 4918 if (queryType == gl::QueryType::PrimitivesGenerated && in getQueryPool() 4921 queryType = gl::QueryType::TransformFeedbackPrimitivesWritten; in getQueryPool() 4925 ASSERT(queryType ! in getQueryPool() [all...] |
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_query.c | 1076 size_t pool_struct_size = pCreateInfo->queryType == VK_QUERY_TYPE_PERFORMANCE_QUERY_KHR in radv_CreateQueryPool() 1088 pool->type = pCreateInfo->queryType; in radv_CreateQueryPool() 1097 pCreateInfo->queryType == VK_QUERY_TYPE_PRIMITIVES_GENERATED_EXT); in radv_CreateQueryPool() 1099 switch (pCreateInfo->queryType) { in radv_CreateQueryPool() 1145 if (pCreateInfo->queryType == VK_QUERY_TYPE_PIPELINE_STATISTICS) in radv_CreateQueryPool() 2073 const VkAccelerationStructureKHR *pAccelerationStructures, VkQueryType queryType, in radv_CmdWriteAccelerationStructuresPropertiesKHR() 2093 switch (queryType) { in radv_CmdWriteAccelerationStructuresPropertiesKHR() 2071 radv_CmdWriteAccelerationStructuresPropertiesKHR( VkCommandBuffer commandBuffer, uint32_t accelerationStructureCount, const VkAccelerationStructureKHR *pAccelerationStructures, VkQueryType queryType, VkQueryPool queryPool, uint32_t firstQuery) radv_CmdWriteAccelerationStructuresPropertiesKHR() argument
|
/third_party/mesa3d/src/virtio/venus-protocol/ |
H A D | vn_protocol_driver_query_pool.h | 29 size += vn_sizeof_VkQueryType(&val->queryType); in vn_sizeof_VkQueryPoolCreateInfo_self() 59 vn_encode_VkQueryType(enc, &val->queryType); in vn_encode_VkQueryPoolCreateInfo_self()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
H A D | QueryValidationTests.cpp | 23 wgpu::QueryType queryType, in CreateQuerySet() 27 descriptor.type = queryType; 21 CreateQuerySet( wgpu::Device cDevice, wgpu::QueryType queryType, uint32_t queryCount, std::vector<wgpu::PipelineStatisticName> pipelineStatistics = {}) CreateQuerySet() argument
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkRayTracingUtil.cpp | 313 const VkQueryType queryType, in makeQueryPool() 321 queryType, // queryType in makeQueryPool() 3407 VkQueryType queryType, 3411 DE_ASSERT(queryType == VK_QUERY_TYPE_ACCELERATION_STRUCTURE_COMPACTED_SIZE_KHR || queryType == VK_QUERY_TYPE_ACCELERATION_STRUCTURE_SERIALIZATION_SIZE_KHR); 3417 vk.cmdWriteAccelerationStructuresPropertiesKHR(cmdBuffer, deUint32(accelerationStructureHandles.size()), accelerationStructureHandles.data(), queryType, queryPool, firstQuery); 3424 vk.writeAccelerationStructuresPropertiesKHR(device, deUint32(accelerationStructureHandles.size()), accelerationStructureHandles.data(), queryType, 3436 VkQueryType queryType, 3440 return queryAccelerationStructureSizeKHR(vk, device, cmdBuffer, accelerationStructureHandles, buildType, queryPool, queryType, firstQuer 311 makeQueryPool(const DeviceInterface& vk, const VkDevice device, const VkQueryType queryType, deUint32 queryCount) makeQueryPool() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
H A D | QueryGL.cpp | 235 virtual angle::Result init(const gl::Context *context, gl::QueryType queryType) in init() argument
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/ |
H A D | vktRayTracingAccelerationStructuresTests.cpp | 246 const VkQueryType queryType, in makeQueryPool() 254 queryType, // queryType in makeQueryPool() 3237 } queryType; member 3370 switch (m_params->queryType) in createInstance() 3689 const VkQueryType queryType = VK_QUERY_TYPE_ACCELERATION_STRUCTURE_SERIALIZATION_BOTTOM_LEVEL_POINTERS_KHR; in iterate() local 3690 Move<VkQueryPool> queryPoolCounts = makeQueryPool(vk, device, queryType, queryCount); in iterate() 3705 vk.cmdWriteAccelerationStructuresPropertiesKHR(*cmdBuffer, queryCount, handles.data(), queryType, *queryPoolCounts, 0); in iterate() 3729 vk.writeAccelerationStructuresPropertiesKHR(device, queryCount, handles.data(), queryType, in iterate() 5861 for (const auto& queryType in addQueryPoolResultsTests() 244 makeQueryPool(const DeviceInterface& vk, const VkDevice device, const VkQueryType queryType, deUint32 queryCount) makeQueryPool() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/ |
H A D | vktRayTracingAccelerationStructuresTests.cpp | 231 const VkQueryType queryType, in makeQueryPool() 239 queryType, // queryType in makeQueryPool() 3004 } queryType; member 3137 switch (m_params->queryType) in createInstance() 3456 const VkQueryType queryType = VK_QUERY_TYPE_ACCELERATION_STRUCTURE_SERIALIZATION_BOTTOM_LEVEL_POINTERS_KHR; in iterate() local 3457 Move<VkQueryPool> queryPoolCounts = makeQueryPool(vk, device, queryType, queryCount); in iterate() 3472 vk.cmdWriteAccelerationStructuresPropertiesKHR(*cmdBuffer, queryCount, handles.data(), queryType, *queryPoolCounts, 0); in iterate() 3496 vk.writeAccelerationStructuresPropertiesKHR(device, queryCount, handles.data(), queryType, in iterate() 5228 for (const auto& queryType in addQueryPoolResultsTests() 229 makeQueryPool(const DeviceInterface& vk, const VkDevice device, const VkQueryType queryType, deUint32 queryCount) makeQueryPool() argument [all...] |