/external/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawScissorTests.cpp | 98 virtual vector<VkRect2D> updateScissors (vector<VkRect2D> scissors) { return scissors; } in updateScissors() argument 194 DynamicScissorTestCommand (deUint32 firstScissor, vector<VkRect2D> scissors); 199 virtual vector<VkRect2D> updateScissors (vector<VkRect2D> scissors); 205 …micScissorTestCommand::DynamicScissorTestCommand (deUint32 firstScissor, vector<VkRect2D> scissors) in DynamicScissorTestCommand() argument 207 , m_scissors(scissors) in DynamicScissorTestCommand() 216 vector<VkRect2D> DynamicScissorTestCommand::updateScissors (vector<VkRect2D> scissors) in updateScissors() argument 220 while (scissors.size() <= m_firstScissor + scissorIdx) in updateScissors() 221 scissors.push_back(makeRect2D(0, 0)); // Add empty scissor in updateScissors() 223 scissors[m_firstScissor + scissorIdx] = m_scissors[scissorIdx]; in updateScissors() 226 return scissors; in updateScissors() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/ |
D | vktFragmentOperationsScissorMultiViewportTests.cpp | 104 const std::vector<IVec4> scissors) in makeGraphicsPipeline() argument 109 DE_ASSERT(numViewports == static_cast<int>(scissors.size())); in makeGraphicsPipeline() 114 for (std::vector<IVec4>::const_iterator it = scissors.begin(); it != scissors.end(); ++it) in makeGraphicsPipeline() 147 std::vector<IVec4> scissors; in generateScissors() local 148 scissors.reserve(numScissors); in generateScissors() 162 scissors.push_back(IVec4(x, y, rectWidth, rectHeight)); in generateScissors() 167 return scissors; in generateScissors() 201 const std::vector<IVec4>& scissors, in generateReferenceImage() argument 204 DE_ASSERT(scissors.size() == scissorColors.size()); in generateReferenceImage() 209 for (std::size_t i = 0; i < scissors.size(); ++i) in generateReferenceImage() [all …]
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_viewport.c | 62 rctx->scissors.states[start_slot + i] = state[i]; in r600_set_scissor_states() 67 rctx->scissors.dirty_mask |= ((1 << num_scissors) - 1) << start_slot; in r600_set_scissor_states() 68 rctx->set_atom_dirty(rctx, &rctx->scissors.atom, true); in r600_set_scissor_states() 239 struct pipe_scissor_state *states = rctx->scissors.states; in r600_emit_scissors() 240 unsigned mask = rctx->scissors.dirty_mask; in r600_emit_scissors() 255 rctx->scissors.dirty_mask &= ~1; /* clear one bit */ in r600_emit_scissors() 278 rctx->scissors.dirty_mask = 0; in r600_emit_scissors() 301 rctx->scissors.dirty_mask |= mask; in r600_set_viewport_states() 303 rctx->set_atom_dirty(rctx, &rctx->scissors.atom, true); in r600_set_viewport_states() 399 rctx->scissors.dirty_mask = (1 << R600_MAX_VIEWPORTS) - 1; in r600_viewport_set_rast_deps() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
D | vktDynamicStateInheritanceTests.cpp | 111 std::vector<VkRect2D> scissors; member 510 DE_ASSERT(geometry.viewports.size() == geometry.scissors.size()); in startRenderCmds() 547 …etScissor(m_setStateCmdBuffer.get(), 0, deUint32(geometry.scissors.size()), &geometry.scissors[0]); in startRenderCmds() 554 m_vk.cmdSetScissor(m_setStateCmdBuffer.get(), 0, 1, &geometry.scissors[0]); in startRenderCmds() 562 deUint32(geometry.scissors.size()), in startRenderCmds() 563 &geometry.scissors[0]); in startRenderCmds() 569 deUint32(geometry.scissors.size()), in startRenderCmds() 570 &geometry.scissors[0]); in startRenderCmds() 602 …SetScissor(m_subpassCmdBuffer.get(), 0, deUint32(geometry.scissors.size()), &geometry.scissors[0]); in startRenderCmds() 624 const std::vector<VkRect2D> scissors; in startRenderCmds() local [all …]
|
D | vktDynamicStateCBTests.cpp | 70 std::vector<vk::VkRect2D> scissors { { { 0u, 0u }, { 0u, 0u } } }; in initPipeline() local 89 scissors, in initPipeline() 103 scissors, in initPipeline()
|
D | vktDynamicStateVPTests.cpp | 264 std::vector<vk::VkRect2D> scissors (4u, { { 0u, 0u }, { 0u, 0u } }); in initPipeline() local 281 scissors, in initPipeline() 295 scissors, in initPipeline() 334 const vk::VkRect2D scissors[kNumViewports] = in iterate() local 342 setDynamicViewportState(kNumViewports, viewports, scissors); in iterate()
|
/external/rust/crates/vulkano/src/command_buffer/validity/ |
D | dynamic_state.rs | 58 if let Some(ref scissors) = state.scissors { in check_dynamic_state_validity() 59 if scissors.len() != pipeline.num_viewports() as usize { in check_dynamic_state_validity() 62 obtained: scissors.len(), in check_dynamic_state_validity() 69 if state.scissors.is_some() { in check_dynamic_state_validity()
|
/external/gson/extras/src/test/java/com/google/gson/graph/ |
D | GraphAdapterBuilderTest.java | 37 Roshambo scissors = new Roshambo("SCISSORS"); in testSerialization() local 39 rock.beats = scissors; in testSerialization() 40 scissors.beats = paper; in testSerialization() 69 Roshambo scissors = rock.beats; in testDeserialization() local 70 assertEquals("SCISSORS", scissors.name); in testDeserialization() 71 Roshambo paper = scissors.beats; in testDeserialization()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_clip.c | 68 const struct pipe_scissor_state *scissors) in llvmpipe_set_scissor_states() argument 77 memcpy(llvmpipe->scissors + start_slot, scissors, in llvmpipe_set_scissor_states()
|
D | lp_setup.c | 790 const struct pipe_scissor_state *scissors ) in lp_setup_set_scissors() argument 795 assert(scissors); in lp_setup_set_scissors() 798 setup->scissors[i].x0 = scissors[i].minx; in lp_setup_set_scissors() 799 setup->scissors[i].x1 = scissors[i].maxx-1; in lp_setup_set_scissors() 800 setup->scissors[i].y0 = scissors[i].miny; in lp_setup_set_scissors() 801 setup->scissors[i].y1 = scissors[i].maxy-1; in lp_setup_set_scissors() 1314 u_rect_possible_intersection(&setup->scissors[i], in try_update_scene_state()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_state_clip.c | 68 const struct pipe_scissor_state *scissors) in softpipe_set_scissor_states() argument 77 memcpy(softpipe->scissors + start_slot, scissors, in softpipe_set_scissor_states()
|
D | sp_state_derived.c | 267 sp->cliprect[i].minx = MAX2(sp->scissors[i].minx, 0); in compute_cliprect() 268 sp->cliprect[i].miny = MAX2(sp->scissors[i].miny, 0); in compute_cliprect() 269 sp->cliprect[i].maxx = MIN2(sp->scissors[i].maxx, surfWidth); in compute_cliprect() 270 sp->cliprect[i].maxy = MIN2(sp->scissors[i].maxy, surfHeight); in compute_cliprect()
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkObjUtil.cpp | 96 const std::vector<VkRect2D>& scissors, in makeGraphicsPipeline() argument 133 …viewports.empty() ? 1u : (deUint32)scissors.size(), // deUint32 … in makeGraphicsPipeline() 134 …scissors.empty() ? DE_NULL : &scissors[0] // const VkRect2D* pSciss… in makeGraphicsPipeline() 141 if (scissors.empty()) in makeGraphicsPipeline() 405 const std::vector<VkRect2D>& scissors, in makeGraphicsPipeline() argument 457 scissors, in makeGraphicsPipeline() 488 const std::vector<VkRect2D>& scissors, in makeGraphicsPipeline() argument 504 viewportStateCreateInfo.scissorCount = static_cast<uint32_t>(scissors.size()); in makeGraphicsPipeline() 505 viewportStateCreateInfo.pScissors = de::dataOrNull(scissors); in makeGraphicsPipeline() 529 if (scissors.empty()) in makeGraphicsPipeline()
|
D | vkPipelineConstructionUtil.hpp | 169 const std::vector<VkRect2D>& scissors, 185 const std::vector<VkRect2D>& scissors, 205 const std::vector<VkRect2D>& scissors, 230 const std::vector<VkRect2D>& scissors,
|
D | vkPipelineConstructionUtil.cpp | 722 const std::vector<VkRect2D>& scissors, in setupPreRasterizationShaderState() argument 738 scissors, in setupPreRasterizationShaderState() 759 const std::vector<VkRect2D>& scissors, in setupPreRasterizationShaderState2() argument 778 scissors, in setupPreRasterizationShaderState2() 802 const std::vector<VkRect2D>& scissors, in setupPreRasterizationShaderState3() argument 943 if (!scissors.empty()) in setupPreRasterizationShaderState3() 945 pViewportState->scissorCount = (deUint32)scissors.size(); in setupPreRasterizationShaderState3() 946 pViewportState->pScissors = &scissors[0]; in setupPreRasterizationShaderState3() 1016 const std::vector<VkRect2D>& scissors, in setupPreRasterizationMeshShaderState() argument 1093 if (!scissors.empty()) in setupPreRasterizationMeshShaderState() [all …]
|
D | vkObjUtil.hpp | 65 const std::vector<VkRect2D>& scissors, 109 const std::vector<VkRect2D>& scissors, 128 const std::vector<VkRect2D>& scissors,
|
/external/rust/crates/vulkano/src/pipeline/ |
D | viewport.rs | 70 scissors: Vec<Scissor>, 114 ViewportsState::DynamicViewports { ref scissors } => scissors.len() as u32, in num_viewports()
|
/external/rust/crates/ash/src/extensions/ext/ |
D | extended_dynamic_state.rs | 76 scissors: &[vk::Rect2D], in cmd_set_scissor_with_count() 81 scissors.len() as u32, in cmd_set_scissor_with_count() 82 scissors.as_ptr(), in cmd_set_scissor_with_count()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state_viewport.c | 132 ctx->scissors[start_slot + i] = state[i]; in si_set_scissor_states() 137 si_mark_atom_dirty(ctx, &ctx->atoms.s.scissors); in si_set_scissor_states() 372 struct pipe_scissor_state *states = ctx->scissors; in si_emit_scissors() 473 si_mark_atom_dirty(ctx, &ctx->atoms.s.scissors); in si_set_viewport_states() 577 si_mark_atom_dirty(ctx, &ctx->atoms.s.scissors); in si_update_vs_viewport_state() 593 si_mark_atom_dirty(ctx, &ctx->atoms.s.scissors); in si_update_vs_viewport_state() 664 ctx->atoms.s.scissors.emit = si_emit_scissors; in si_init_viewport_functions()
|
/external/deqp/external/vulkancts/modules/vulkan/mesh_shader/ |
D | vktMeshShaderPropertyTestsEXT.cpp | 461 const std::vector<VkRect2D> scissors (1u, makeRect2D(framebufferExtent)); in iterate() local 499 shaderStages, renderPass.get(), viewports, scissors); in iterate() 506 beginRenderPass(vkd, cmdBuffer, renderPass.get(), framebuffer.get(), scissors.at(0u)); in iterate() 745 const std::vector<VkRect2D> scissors (1u, makeRect2D(fbExtent)); in iterate() local 749 renderPass.get(), viewports, scissors); in iterate() 756 beginRenderPass(vkd, cmdBuffer, renderPass.get(), framebuffer.get(), scissors.at(0u), clearColor); in iterate() 961 const std::vector<VkRect2D> scissors (1u, makeRect2D(fbExtent)); in iterate() local 965 renderPass.get(), viewports, scissors); in iterate() 972 beginRenderPass(vkd, cmdBuffer, renderPass.get(), framebuffer.get(), scissors.at(0u), clearColor); in iterate() 1245 const std::vector<VkRect2D> scissors (1u, makeRect2D(fbExtent)); in iterate() local [all …]
|
D | vktMeshShaderSmokeTestsEXT.cpp | 94 const std::vector<VkRect2D>& scissors, in makeMeshGraphicsPipeline() argument 105 scissors, in makeMeshGraphicsPipeline() 595 std::vector<VkRect2D> scissors (1u, makeRect2D(colorBufferExtent)); in iterate() local 598 …et(), taskModule.get(), meshModule.get(), fragModule.get(), renderPass.get(), viewports, scissors); in iterate() 617 …beginRenderPass(vkd, cmdBuffer, renderPass.get(), framebuffer.get(), scissors.at(0), getClearColor… in iterate() 876 std::vector<VkRect2D> scissors (1u, makeRect2D(colorBufferExtent)); in testFullscreenGradient() local 881 renderPass.get(), viewports, scissors, 0u, nullptr, pNext.get()); in testFullscreenGradient() 900 …beginRenderPass(vkd, cmdBuffer, renderPass.get(), framebuffer.get(), scissors.at(0), getClearColor… in testFullscreenGradient() 1453 const std::vector<VkRect2D> scissors (1u, makeRect2D(fbExtent)); in iterate() local 1476 renderPass.get(), viewports, scissors, 0u, &dsInfo); in iterate() [all …]
|
D | vktMeshShaderConditionalRenderingTestsEXT.cpp | 419 const std::vector<VkRect2D> scissors (1u, makeRect2D(colorExtent)); in iterate() local 424 renderPass.get(), viewports, scissors); in iterate() 486 beginRenderPass(vkd, cmdBuffer, renderPass.get(), framebuffer.get(), scissors.at(0u), clearColor); in iterate() 496 …beginRenderPass(vkd, primary, renderPass.get(), framebuffer.get(), scissors.at(0u), clearColor, VK… in iterate() 519 …beginRenderPass(vkd, primary, renderPass.get(), framebuffer.get(), scissors.at(0u), clearColor, VK… in iterate()
|
/external/vulkan-validation-layers/tests/ |
D | vklayertests_pipeline_shader.cpp | 1789 VkRect2D scissors[] = {scissor, scissor}; in TEST_F() local 1797 VkRect2D *scissors; in TEST_F() member 1806 scissors, in TEST_F() 1812 scissors, in TEST_F() 1818 scissors, in TEST_F() 1824 scissors, in TEST_F() 1830 scissors, in TEST_F() 1836 scissors, in TEST_F() 1842 scissors, in TEST_F() 1848 scissors, in TEST_F() [all …]
|
/external/rust/crates/vulkano/src/command_buffer/ |
D | mod.rs | 176 pub scissors: Option<Vec<Scissor>>, field 188 scissors: None, in none()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineMiscTests.cpp | 330 const std::vector<VkRect2D> scissors (1u, makeRect2D(m_extent)); in iterate() local 360 ….setupPreRasterizationShaderState(viewports, scissors, *pipelineLayout, *renderPass, 0u, *vertModu… in iterate() 374 beginRenderPass(vkd, cmdBuffer, renderPass.get(), framebuffer.get(), scissors.at(0u), clearColor); in iterate() 769 const std::vector<VkRect2D> scissors (1u, makeRect2D(colorExtent)); in iterate() local 778 de::sizeU32(scissors), // uint32_t scissorCount; in iterate() 779 de::dataOrNull(scissors), // const VkRect2D* pScissors; in iterate() 997 beginRenderPass(vkd, cmdBuffer, renderPass.get(), framebuffer.get(), scissors.at(0u), clearColor); in iterate() 1141 const std::vector<vk::VkRect2D> scissors { makeRect2D(imageExtent) }; in runTest() local 1224 scissors, in runTest()
|