Home
last modified time | relevance | path

Searched refs:dynamicState (Results 1 – 25 of 48) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/src/Device/
DContext.cpp281 VkDynamicState dynamicState = pCreateInfo->pDynamicState->pDynamicStates[i]; in GraphicsState() local
282 switch(dynamicState) in GraphicsState()
293 ASSERT(dynamicState < (sizeof(dynamicStateFlags) * 8)); in GraphicsState()
294 dynamicStateFlags |= (1 << dynamicState); in GraphicsState()
297 UNSUPPORTED("VkDynamicState %d", int(dynamicState)); in GraphicsState()
648 const GraphicsState GraphicsState::combineStates(const DynamicState &dynamicState) const in combineStates()
655 combinedState.scissor = dynamicState.scissor; in combineStates()
660 combinedState.viewport = dynamicState.viewport; in combineStates()
665 combinedState.blendConstants = dynamicState.blendConstants; in combineStates()
670 combinedState.constantDepthBias = dynamicState.depthBiasConstantFactor; in combineStates()
[all …]
DContext.hpp139 const GraphicsState combineStates(const DynamicState &dynamicState) const;
195 …nline bool hasDynamicState(VkDynamicState dynamicState) const { return (dynamicStateFlags & (1 << in hasDynamicState()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkCommandBuffer.cpp288 executionState.dynamicState.viewport = viewport; in execute()
309 executionState.dynamicState.scissor = scissor; in execute()
331 executionState.dynamicState.depthBiasConstantFactor = depthBiasConstantFactor; in execute()
332 executionState.dynamicState.depthBiasClamp = depthBiasClamp; in execute()
333 executionState.dynamicState.depthBiasSlopeFactor = depthBiasSlopeFactor; in execute()
354 memcpy(&(executionState.dynamicState.blendConstants[0]), blendConstants, sizeof(blendConstants)); in execute()
374 executionState.dynamicState.minDepthBounds = minDepthBounds; in execute()
375 executionState.dynamicState.maxDepthBounds = maxDepthBounds; in execute()
398 executionState.dynamicState.compareMask[0] = compareMask; in execute()
403 executionState.dynamicState.compareMask[1] = compareMask; in execute()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineMatchedAttachmentsTests.cpp212 const VkDynamicState dynamicState[] = in testMatchedAttachments() local
224 dynamicState // const VkDynamicState* pDynamicStates; in testMatchedAttachments()
DvktPipelineMultisampleSampleLocationsExtTests.cpp560 const std::vector<VkDynamicState>& dynamicState, in preparePipelineWrapper() argument
657 static_cast<deUint32>(dynamicState.size()), // uint32_t dynamicStateCount; in preparePipelineWrapper()
658 dataOrNullPtr(dynamicState), // const VkDynamicState* pDynamicStates; in preparePipelineWrapper()
715 const std::vector<VkDynamicState>& dynamicState, in preparePipelineWrapperSinglePassColor() argument
729 preparePipelineWrapper(gpw, dynamicState, pipelineLayout, renderPass, vertexModule, fragmentModule, in preparePipelineWrapperSinglePassColor()
1612 std::vector<VkDynamicState> dynamicState; in drawSinglePass() local
1613 dynamicState.push_back(VK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT); in drawSinglePass()
1616 …pipeline, dynamicState, *pipelineLayout, rt.getRenderPass(), *vertexModule, *fragmentModule, viewp… in drawSinglePass()
2490 std::vector<VkDynamicState> dynamicState; in drawRenderPasses() local
2491 dynamicState.push_back(VK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT); in drawRenderPasses()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMatchedAttachmentsTests.cpp212 const VkDynamicState dynamicState[] = in testMatchedAttachments() local
224 dynamicState // const VkDynamicState* pDynamicStates; in testMatchedAttachments()
DvktPipelineMultisampleSampleLocationsExtTests.cpp560 const std::vector<VkDynamicState>& dynamicState, in preparePipelineWrapper() argument
657 static_cast<deUint32>(dynamicState.size()), // uint32_t dynamicStateCount; in preparePipelineWrapper()
658 dataOrNullPtr(dynamicState), // const VkDynamicState* pDynamicStates; in preparePipelineWrapper()
715 const std::vector<VkDynamicState>& dynamicState, in preparePipelineWrapperSinglePassColor() argument
729 preparePipelineWrapper(gpw, dynamicState, pipelineLayout, renderPass, vertexModule, fragmentModule, in preparePipelineWrapperSinglePassColor()
1612 std::vector<VkDynamicState> dynamicState; in drawSinglePass() local
1613 dynamicState.push_back(VK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT); in drawSinglePass()
1616 …pipeline, dynamicState, *pipelineLayout, rt.getRenderPass(), *vertexModule, *fragmentModule, viewp… in drawSinglePass()
2490 std::vector<VkDynamicState> dynamicState; in drawRenderPasses() local
2491 dynamicState.push_back(VK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT); in drawRenderPasses()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
DvktDrawInstancedTests.cpp76 deBool dynamicState; member
95 if (v.dynamicState) in operator <<()
310 if (m_params.dynamicState) in checkSupport()
538 if (m_params.dynamicState) in InstancedDrawInstance()
545 vk::VkPipelineDynamicStateCreateInfo dynamicState in InstancedDrawInstance() local
553 pipelineCreateInfo.addState(dynamicState); in InstancedDrawInstance()
939 if (m_params.dynamicState) in draw()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawInstancedTests.cpp76 deBool dynamicState; member
95 if (v.dynamicState) in operator <<()
310 if (m_params.dynamicState) in checkSupport()
538 if (m_params.dynamicState) in InstancedDrawInstance()
545 vk::VkPipelineDynamicStateCreateInfo dynamicState in InstancedDrawInstance() local
553 pipelineCreateInfo.addState(dynamicState); in InstancedDrawInstance()
939 if (m_params.dynamicState) in draw()
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
DDrawTester.cpp255 vk::PipelineDynamicStateCreateInfo dynamicState = {}; in createGraphicsPipeline() local
256 dynamicState.pDynamicStates = dynamicStateEnables.data(); in createGraphicsPipeline()
257 dynamicState.dynamicStateCount = static_cast<uint32_t>(dynamicStateEnables.size()); in createGraphicsPipeline()
300 pipelineCreateInfo.pDynamicState = &dynamicState; in createGraphicsPipeline()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/dynamic_state/
DvktDynamicStateCBTests.cpp78 const PipelineCreateInfo::DynamicState dynamicState; in initPipeline() local
81 .setDynamicState(static_cast<const vk::VkPipelineDynamicStateCreateInfo*>(&dynamicState)) in initPipeline()
DvktDynamicStateGeneralTests.cpp323 const PipelineCreateInfo::DynamicState dynamicState; in initPipeline() local
326 .setDynamicState(static_cast<const vk::VkPipelineDynamicStateCreateInfo*>(&dynamicState)) in initPipeline()
342 .setDynamicState(static_cast<const vk::VkPipelineDynamicStateCreateInfo*>(&dynamicState)) in initPipeline()
DvktDynamicStateBaseClass.cpp222 const PipelineCreateInfo::DynamicState dynamicState; in initPipeline() local
233 .setDynamicState(static_cast<const vk::VkPipelineDynamicStateCreateInfo*>(&dynamicState)); in initPipeline()
DvktDynamicStateVPTests.cpp270 PipelineCreateInfo::DynamicState dynamicState; in initPipeline() local
273 .setDynamicState(static_cast<const vk::VkPipelineDynamicStateCreateInfo*>(&dynamicState)) in initPipeline()
DvktDynamicStateDSTests.cpp281 PipelineCreateInfo::DynamicState dynamicState; in initialize() local
284 .setDynamicState(static_cast<const vk::VkPipelineDynamicStateCreateInfo*>(&dynamicState)) in initialize()
320 .setDynamicState(static_cast<const vk::VkPipelineDynamicStateCreateInfo*>(&dynamicState)) in initialize()
745 const PipelineCreateInfo::DynamicState dynamicState; in initPipeline() local
748 .setDynamicState(static_cast<const vk::VkPipelineDynamicStateCreateInfo*>(&dynamicState)) in initPipeline()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateCBTests.cpp78 const PipelineCreateInfo::DynamicState dynamicState; in initPipeline() local
81 .setDynamicState(static_cast<const vk::VkPipelineDynamicStateCreateInfo*>(&dynamicState)) in initPipeline()
DvktDynamicStateGeneralTests.cpp323 const PipelineCreateInfo::DynamicState dynamicState; in initPipeline() local
326 .setDynamicState(static_cast<const vk::VkPipelineDynamicStateCreateInfo*>(&dynamicState)) in initPipeline()
342 .setDynamicState(static_cast<const vk::VkPipelineDynamicStateCreateInfo*>(&dynamicState)) in initPipeline()
DvktDynamicStateBaseClass.cpp222 const PipelineCreateInfo::DynamicState dynamicState; in initPipeline() local
233 .setDynamicState(static_cast<const vk::VkPipelineDynamicStateCreateInfo*>(&dynamicState)); in initPipeline()
DvktDynamicStateVPTests.cpp270 PipelineCreateInfo::DynamicState dynamicState; in initPipeline() local
273 .setDynamicState(static_cast<const vk::VkPipelineDynamicStateCreateInfo*>(&dynamicState)) in initPipeline()
DvktDynamicStateDSTests.cpp281 PipelineCreateInfo::DynamicState dynamicState; in initialize() local
284 .setDynamicState(static_cast<const vk::VkPipelineDynamicStateCreateInfo*>(&dynamicState)) in initialize()
320 .setDynamicState(static_cast<const vk::VkPipelineDynamicStateCreateInfo*>(&dynamicState)) in initialize()
745 const PipelineCreateInfo::DynamicState dynamicState; in initPipeline() local
748 .setDynamicState(static_cast<const vk::VkPipelineDynamicStateCreateInfo*>(&dynamicState)) in initPipeline()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/third_party/
Dvulkan_command_buffer_utils.cpp1566 VkPipelineDynamicStateCreateInfo dynamicState = {}; in init_pipeline() local
1567 dynamicState.sType = VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO; in init_pipeline()
1568 dynamicState.pNext = NULL; in init_pipeline()
1569 dynamicState.pDynamicStates = NULL; in init_pipeline()
1570 dynamicState.dynamicStateCount = 0; in init_pipeline()
1634 dynamicState.dynamicStateCount++; in init_pipeline()
1637 dynamicState.dynamicStateCount++; in init_pipeline()
1706 pipeline.pDynamicState = &dynamicState; in init_pipeline()
1716 dynamicState.pDynamicStates = dynamicStateEnables.data(); in init_pipeline()
1717 dynamicState.dynamicStateCount = dynamicStateEnables.size(); in init_pipeline()
/third_party/glfw/tests/
Dvulkan.c1352 VkPipelineDynamicStateCreateInfo dynamicState; in demo_prepare_pipeline() local
1357 memset(&dynamicState, 0, sizeof dynamicState); in demo_prepare_pipeline()
1358 dynamicState.sType = VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO; in demo_prepare_pipeline()
1359 dynamicState.pDynamicStates = dynamicStateEnables; in demo_prepare_pipeline()
1392 dynamicStateEnables[dynamicState.dynamicStateCount++] = in demo_prepare_pipeline()
1395 dynamicStateEnables[dynamicState.dynamicStateCount++] = in demo_prepare_pipeline()
1439 pipeline.pDynamicState = &dynamicState; in demo_prepare_pipeline()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassDepthStencilResolveTests.cpp772 std::vector<VkDynamicState> dynamicState; in createRenderPipeline() local
773 dynamicState.push_back(VK_DYNAMIC_STATE_STENCIL_REFERENCE); in createRenderPipeline()
779 …static_cast<deUint32>(dynamicState.size()), // deUint32 dynamicStat… in createRenderPipeline()
780 &dynamicState[0] // const VkDynamicState* pDynamicStates; in createRenderPipeline()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
DvktRenderPassDepthStencilResolveTests.cpp772 std::vector<VkDynamicState> dynamicState; in createRenderPipeline() local
773 dynamicState.push_back(VK_DYNAMIC_STATE_STENCIL_REFERENCE); in createRenderPipeline()
779 …static_cast<deUint32>(dynamicState.size()), // deUint32 dynamicStat… in createRenderPipeline()
780 &dynamicState[0] // const VkDynamicState* pDynamicStates; in createRenderPipeline()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkPipelineConstructionUtil.hpp114 …aphicsPipelineWrapper& setDynamicState (const VkPipelineDynamicStateCreateInfo* dynamicState);

12