Home
last modified time | relevance | path

Searched refs:dynamicStates (Results 1 – 19 of 19) sorted by relevance

/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkObjUtil.cpp279 std::vector<VkDynamicState> dynamicStates; in makeGraphicsPipeline() local
282 dynamicStates.push_back(VK_DYNAMIC_STATE_VIEWPORT); in makeGraphicsPipeline()
284 dynamicStates.push_back(VK_DYNAMIC_STATE_SCISSOR); in makeGraphicsPipeline()
291 (deUint32)dynamicStates.size(), // deUint32 dynamicStateCount in makeGraphicsPipeline()
292dynamicStates.empty() ? DE_NULL : &dynamicStates[0] // const VkDynamicState* pDyna… in makeGraphicsPipeline()
295 …const VkPipelineDynamicStateCreateInfo* dynamicStateCreateInfoDefaultPtr = dynamicStates.empty()… in makeGraphicsPipeline()
492 std::vector<VkDynamicState> dynamicStates; in makeGraphicsPipeline() local
495 dynamicStates.push_back(VK_DYNAMIC_STATE_VIEWPORT); in makeGraphicsPipeline()
497 dynamicStates.push_back(VK_DYNAMIC_STATE_SCISSOR); in makeGraphicsPipeline()
500 dynamicStateCreateInfoDefault.dynamicStateCount = static_cast<uint32_t>(dynamicStates.size()); in makeGraphicsPipeline()
[all …]
/third_party/skia/src/gpu/vk/
DGrVkPipeline.cpp459 VkDynamicState* dynamicStates) { in setup_dynamic_state() argument
464 dynamicStates[0] = VK_DYNAMIC_STATE_VIEWPORT; in setup_dynamic_state()
465 dynamicStates[1] = VK_DYNAMIC_STATE_SCISSOR; in setup_dynamic_state()
466 dynamicStates[2] = VK_DYNAMIC_STATE_BLEND_CONSTANTS; in setup_dynamic_state()
468 dynamicInfo->pDynamicStates = dynamicStates; in setup_dynamic_state()
526 VkDynamicState dynamicStates[3]; in Make() local
528 setup_dynamic_state(&dynamicInfo, dynamicStates); in Make()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationUtil.cpp366 std::vector<VkDynamicState> dynamicStates; in build() local
369 dynamicStates.push_back(VK_DYNAMIC_STATE_VIEWPORT); in build()
370 dynamicStates.push_back(VK_DYNAMIC_STATE_SCISSOR); in build()
378 static_cast<deUint32>(dynamicStates.size()), // uint32_t dynamicStateCount; in build()
379 (dynamicStates.empty() ? DE_NULL : &dynamicStates[0]), // const VkDynamicState* pDynamicStates; in build()
397 …(dynamicStates.empty() ? DE_NULL : &pipelineDynamicStateInfo), // const VkPipelineDynamicStateCr… in build()
/third_party/flutter/skia/src/gpu/vk/
DGrVkPipeline.cpp489 VkDynamicState* dynamicStates) { in setup_dynamic_state() argument
494 dynamicStates[0] = VK_DYNAMIC_STATE_VIEWPORT; in setup_dynamic_state()
495 dynamicStates[1] = VK_DYNAMIC_STATE_SCISSOR; in setup_dynamic_state()
496 dynamicStates[2] = VK_DYNAMIC_STATE_BLEND_CONSTANTS; in setup_dynamic_state()
498 dynamicInfo->pDynamicStates = dynamicStates; in setup_dynamic_state()
535 VkDynamicState dynamicStates[3]; in Create() local
537 setup_dynamic_state(&dynamicInfo, dynamicStates); in Create()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawDiscardRectanglesTests.cpp311 std::vector<VkDynamicState> dynamicStates; in makeGraphicsPipeline() local
314 dynamicStates.push_back(dynamicStateDiscardRectangles); in makeGraphicsPipeline()
316 dynamicStates.push_back(dynamicStateScissor); in makeGraphicsPipeline()
323 (deUint32)dynamicStates.size(), // deUint32 dynamicStateCount; in makeGraphicsPipeline()
324 dynamicStates.data() // const VkDynamicState* pDynamicStates; in makeGraphicsPipeline()
DvktDrawNegativeViewportHeightTests.cpp201 std::vector<VkDynamicState> dynamicStates; in NegativeViewportHeightTestInstance() local
202 dynamicStates.push_back(VK_DYNAMIC_STATE_VIEWPORT); in NegativeViewportHeightTestInstance()
232 pipelineCreateInfo.addState (PipelineCreateInfo::DynamicState (dynamicStates)); in NegativeViewportHeightTestInstance()
DvktDrawInvertedDepthRangesTests.cpp262 std::vector<VkDynamicState> dynamicStates; in InvertedDepthRangesTestInstance() local
263 dynamicStates.push_back(VK_DYNAMIC_STATE_VIEWPORT); in InvertedDepthRangesTestInstance()
293 pipelineCreateInfo.addState (PipelineCreateInfo::DynamicState (dynamicStates)); in InvertedDepthRangesTestInstance()
DvktDrawDepthClampTests.cpp421 …std::vector<VkDynamicState> dynamicStates { VK_DYNAMIC_STATE_VIEWPORT, VK_DYNAMIC_STATE_SC… in DepthClampTestInstance() local
444 pipelineCreateInfo.addState (PipelineCreateInfo::DynamicState (dynamicStates)); in DepthClampTestInstance()
DvktDrawCreateInfoUtil.hpp447 …DynamicState (const std::vector<vk::VkDynamicState>& dynamicStates = std::vector<vk::VkDynamicSt…
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineExtendedDynamicStateTests.cpp1044 std::vector<vk::VkDynamicState> dynamicStates; in getDynamicStates() local
1046 if (depthBiasConfig.dynamicValue) dynamicStates.push_back(vk::VK_DYNAMIC_STATE_DEPTH_BIAS); in getDynamicStates()
1047 if (cullModeConfig.dynamicValue) dynamicStates.push_back(vk::VK_DYNAMIC_STATE_CULL_MODE_EXT); in getDynamicStates()
1048 if (frontFaceConfig.dynamicValue) dynamicStates.push_back(vk::VK_DYNAMIC_STATE_FRONT_FACE_EXT); in getDynamicStates()
1049 …if (topologyConfig.dynamicValue) dynamicStates.push_back(vk::VK_DYNAMIC_STATE_PRIMITIVE_TOPOLOG… in getDynamicStates()
1050 …if (viewportConfig.dynamicValue) dynamicStates.push_back(vk::VK_DYNAMIC_STATE_VIEWPORT_WITH_COU… in getDynamicStates()
1051 …if (scissorConfig.dynamicValue) dynamicStates.push_back(vk::VK_DYNAMIC_STATE_SCISSOR_WITH_COUN… in getDynamicStates()
1052 …if (strideConfig.dynamicValue) dynamicStates.push_back(vk::VK_DYNAMIC_STATE_VERTEX_INPUT_BINDI… in getDynamicStates()
1053 …if (depthTestEnableConfig.dynamicValue) dynamicStates.push_back(vk::VK_DYNAMIC_STATE_DEPTH_TEST_… in getDynamicStates()
1054 …if (depthWriteEnableConfig.dynamicValue) dynamicStates.push_back(vk::VK_DYNAMIC_STATE_DEPTH_WRITE… in getDynamicStates()
[all …]
DvktPipelineDepthRangeUnrestrictedTests.cpp705 std::vector<VkDynamicState> dynamicStates; in buildPipeline() local
707 dynamicStates.push_back(VK_DYNAMIC_STATE_VIEWPORT); in buildPipeline()
709 dynamicStates.push_back(VK_DYNAMIC_STATE_DEPTH_BOUNDS); in buildPipeline()
716 (deUint32)dynamicStates.size(), // deUint32 dynamicStateCount; in buildPipeline()
717 …(const VkDynamicState*)dynamicStates.data() // const VkDynamicState* pDynamicSta… in buildPipeline()
DvktPipelineColorWriteEnableTests.cpp762 std::vector<vk::VkDynamicState> dynamicStates; in iterate() local
765 dynamicStates.push_back(vk::VK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXT); in iterate()
772 static_cast<deUint32>(dynamicStates.size()), // deUint32 dynamicStateCount; in iterate()
773 dynamicStates.data(), // const VkDynamicState* pDynamicStates; in iterate()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DRenderPipelineVk.cpp424 VkDynamicState dynamicStates[] = { in RenderPipeline() local
434 dynamic.dynamicStateCount = sizeof(dynamicStates) / sizeof(dynamicStates[0]); in RenderPipeline()
435 dynamic.pDynamicStates = dynamicStates; in RenderPipeline()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DRenderPipelineVk.cpp487 VkDynamicState dynamicStates[] = { in Initialize() local
496 dynamic.dynamicStateCount = sizeof(dynamicStates) / sizeof(dynamicStates[0]); in Initialize()
497 dynamic.pDynamicStates = dynamicStates; in Initialize()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateRSTests.cpp905 const std::vector<vk::VkDynamicState> dynamicStates (1u, vk::VK_DYNAMIC_STATE_DEPTH_BIAS); in iterate() local
912 static_cast<deUint32>(dynamicStates.size()), // deUint32 dynamicStateCount; in iterate()
913 de::dataOrNull(dynamicStates), // const VkDynamicState* pDynamicStates; in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiPipelineTests.cpp813 const VkDynamicState dynamicStates[] = in createSimpleGraphicsPipeline() local
824 DE_LENGTH_OF_ARRAY(dynamicStates), // deUint32 dynamicStateCount; in createSimpleGraphicsPipeline()
825 dynamicStates // const VkDynamicState* pDynamicStates; in createSimpleGraphicsPipeline()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsTestsUtils.cpp477 std::vector<VkDynamicState> dynamicStates; in makeGraphicsPipeline() local
480 dynamicStates.push_back(VK_DYNAMIC_STATE_VIEWPORT); in makeGraphicsPipeline()
482 dynamicStates.push_back(VK_DYNAMIC_STATE_SCISSOR); in makeGraphicsPipeline()
489 (deUint32)dynamicStates.size(), // deUint32 dynamicStateCount in makeGraphicsPipeline()
490dynamicStates.empty() ? DE_NULL : &dynamicStates[0] // const VkDynamicState* pDyna… in makeGraphicsPipeline()
493 …const VkPipelineDynamicStateCreateInfo* dynamicStateCreateInfoDefaultPtr = dynamicStates.empty()… in makeGraphicsPipeline()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmGraphicsShaderTestUtil.cpp4099 const VkDynamicState dynamicStates[] = in runAndVerifyDefaultPipeline() local
4109 DE_LENGTH_OF_ARRAY(dynamicStates), // dynamicStateCount in runAndVerifyDefaultPipeline()
4110 dynamicStates // pDynamicStates in runAndVerifyDefaultPipeline()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/descriptor_indexing/
DvktDescriptorSetsIndexingTests.cpp901 const VkDynamicState dynamicStates[] = in createGraphicsPipeline() local
911 DE_LENGTH_OF_ARRAY(dynamicStates), // dynamicStateCount in createGraphicsPipeline()
912 dynamicStates // pDynamicStates in createGraphicsPipeline()