Home | History | Annotate | Download | only in tests

Lines Matching refs:renderpass

761     VkResult err = pipelineobj.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
1173 gp_ci_.renderPass = layer_test_.renderPass();
2543 VkResult err = pipe.CreateVKPipeline(pipeline_layout.handle(), renderPass());
3174 // Create first device and renderpass
3201 // Try to destroy the renderpass from the first device using the second device
3202 m_errorMonitor->SetDesiredFailureMsg(VK_DEBUG_REPORT_ERROR_BIT_EXT, "VUID-vkDestroyRenderPass-renderPass-parent");
3813 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
4867 // A renderpass with two subpasses, both writing the same attachment.
4967 // A renderpass with a single subpass that declared a self-dependency
5029 rpbi.renderPass = rp;
5164 // A renderpass with a single subpass that declared a self-dependency
5592 // A renderpass with a single subpass that declared a self-dependency
6678 TEST_DESCRIPTION("Generate INVALID_RENDER_AREA error by beginning renderpass with extent outside of framebuffer");
6717 // Bind a BeginRenderPass within an active RenderPass
6721 // Just use a dummy Renderpass
6722 m_errorMonitor->SetDesiredFailureMsg(VK_DEBUG_REPORT_ERROR_BIT_EXT, "VUID-vkCmdBeginRenderPass-renderpass");
6730 m_errorMonitor->SetDesiredFailureMsg(VK_DEBUG_REPORT_ERROR_BIT_EXT, "VUID-vkCmdBeginRenderPass2KHR-renderpass");
6737 TEST_DESCRIPTION("Test that renderpass begin is compatible with the framebuffer renderpass ");
6760 // Create a renderPass with a single attachment that uses loadOp CLEAR
6793 "VUID-VkRenderPassBeginInfo-renderPass-00904", nullptr);
6803 "Test that renderpass initial/final layouts match up with the usage bits set for each attachment of the framebuffer");
6864 // Create a renderPass with those attachments
6898 rp_begin.renderPass = rp_invalid;
6909 rp_begin.renderPass = rp_invalid;
6920 rp_begin.renderPass = rp_invalid;
6930 rp_begin.renderPass = rp_invalid;
6941 rp_begin.renderPass = rp_invalid;
6954 rp_begin.renderPass = rp_invalid;
6966 rp_begin.renderPass = rp_invalid;
6977 rp_begin.renderPass = rp_invalid;
6993 "Begin a renderPass where clearValueCount is less than the number of renderPass attachments that use "
7007 // Create a renderPass with a single attachment that uses loadOp CLEAR
7031 rp_begin.renderPass = renderPass();
7077 // Create a renderPass with a single attachment that uses loadOp CLEAR
7139 TEST_DESCRIPTION("Test that an error is produced when CmdNextSubpass is called too many times in a renderpass instance");
7238 TEST_DESCRIPTION("Delete in-use renderPass.");
7243 // Create simple renderpass
7269 rpbi.renderPass = rp;
7281 m_errorMonitor->SetDesiredFailureMsg(VK_DEBUG_REPORT_ERROR_BIT_EXT, "VUID-vkDestroyRenderPass-renderPass-00873");
7287 m_errorMonitor->SetUnexpectedError("If renderPass is not VK_NULL_HANDLE, renderPass must be a valid VkRenderPass handle");
7324 // A renderpass with one color attachment.
7370 // Record a single command buffer which uses this renderpass twice. The
7371 // bug is triggered at the beginning of the second renderpass, when the
7391 "Positive test where we create a renderpass with an attachment that uses LOAD_OP_CLEAR, the first subpass has a valid "
7428 // Now create RenderPass and verify no errors
7443 // A renderpass with one color attachment.
7523 // A renderpass with no attachments
7540 // Record a command buffer which just begins and ends the renderpass. The
7617 fb_info.renderPass = rp;
7631 rpbinfo.renderPass = rp;
7762 // A renderpass with one depth/stencil attachment.
7838 // Create a renderPass with two color attachments
7866 VkRenderPass renderpass;
7867 vkCreateRenderPass(m_device->device(), &rpci, NULL, &renderpass);
7878 pipeline.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderpass);
7880 vkDestroyRenderPass(m_device->device(), renderpass, NULL);
7883 // Is the Pipeline compatible with the expectations of the Renderpass/subpasses?
7886 "Create a graphics pipeline that is incompatible with the requirements of its contained Renderpass/subpasses.");
7920 " 1. Mismatch between framebuffer & renderPass attachmentCount\n"
7922 " 3. Mismatch framebuffer & renderPass attachment formats\n"
7923 " 4. Mismatch framebuffer & renderPass attachment #samples\n"
7935 // Create a renderPass with a single color attachment
7960 fb_info.renderPass = rp;
7977 // Create a renderPass with a depth-stencil attachment created with
7987 fb_info.renderPass = rp_ds;
7998 // Create new renderpass with alternate attachment format from fb
8007 fb_info.renderPass = rp;
8017 // Create new renderpass with alternate sample count from fb
8024 fb_info.renderPass = rp;
8056 // Re-create renderpass to have matching sample count
8061 fb_info.renderPass = rp;
8235 pipelineobj.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
8302 pipelineobj.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
8878 VkResult err = pipe.CreateVKPipeline(pipeline_layout.handle(), renderPass());
9615 pipe.CreateVKPipeline(pipeline_layout.handle(), renderPass());
9786 // Just use default renderpass with our framebuffer
9826 // Just use default renderpass with our framebuffer
9913 // Just use default renderpass with our framebuffer
10143 TEST_DESCRIPTION("Draw using a pipeline whose create renderPass has been destroyed.");
10150 // Create a renderPass that's compatible with Draw-time renderPass
10213 // Destroy renderPass before pipeline is used in Draw
10215 // created between CB & renderPass, which we used to do.
10344 pipe.CreateVKPipeline(pipeline_layout.handle(), renderPass());
10533 pipe.CreateVKPipeline(pipeline_layout.handle(), renderPass());
10772 pipe.CreateVKPipeline(pipeline_layout.handle(), renderPass());
10901 pipe.CreateVKPipeline(pipeline_layout.handle(), renderPass());
11013 pipe.CreateVKPipeline(pipeline_layout.handle(), renderPass());
11134 pipe.CreateVKPipeline(pipeline_layout.handle(), renderPass());
11260 pipe.CreateVKPipeline(pipeline_layout.handle(), renderPass());
11443 m_commandBuffer->BeginRenderPass(m_renderPassBeginInfo); // Draw*() calls must be submitted within a renderpass
11487 vkCmdEndRenderPass(m_commandBuffer->handle()); // Compute submissions must be outside a renderpass
12142 pipe.CreateVKPipeline(pipeline_layout.handle(), renderPass());
12547 pipe.CreateVKPipeline(pipe_layout_fs_only.handle(), renderPass());
12644 // Force the failure by not setting the Renderpass and Framebuffer fields
12742 // Force the failure by setting the Renderpass and Framebuffer fields with (fake) data
12852 gp_ci.renderPass = renderPass();
13276 gp_ci.renderPass = renderPass();
13818 gp_ci.renderPass = renderPass();
13925 create_info.renderPass = renderPass();
14017 create_info.renderPass = renderPass();
14109 create_info.renderPass = renderPass();
14204 create_info.renderPass = renderPass();
14316 create_info.renderPass = renderPass();
14328 // Bind a NULL RenderPass
14336 // Don't care about RenderPass handle b/c error should be flagged before
14370 // Call CmdFillBuffer within an active renderpass
14393 // Call CmdUpdateBuffer within an active renderpass
14596 // Call CmdClearColorImage within an active RenderPass
14641 // 2. Call CmdClearDepthStencilImage within an active RenderPass
14680 m_errorMonitor->SetDesiredFailureMsg(VK_DEBUG_REPORT_ERROR_BIT_EXT, "VUID-vkCmdClearDepthStencilImage-renderpass");
14689 // Call CmdClearAttachmentss outside of an active RenderPass
14697 // Start no RenderPass
15871 // Bind a BeginRenderPass within an active RenderPass
16861 // Create CommandBuffer where MSAA samples doesn't match RenderPass
16892 pipe.CreateVKPipeline(pipeline_layout.handle(), renderPass());
16915 "Hit RenderPass incompatible cases. Initial case is drawing with an active renderpass that's not compatible with the bound "
16916 "pipeline state object's creation renderpass");
16930 // Create a renderpass that will be incompatible with default renderpass
16963 cbii.renderPass = rp;
16972 m_errorMonitor->SetDesiredFailureMsg(VK_DEBUG_REPORT_ERROR_BIT_EXT, "VUID-vkCmdDraw-renderPass-00435");
17015 pipe.CreateVKPipeline(pipeline_layout.handle(), renderPass());
17131 "not throw an error if the primary commandbuffer begins a renderpass before executing the secondary commandbuffer.");
17145 hinfo.renderPass = renderPass();
17204 pipe.CreateVKPipeline(pipeline_layout.handle(), renderPass());
17285 pipe.CreateVKPipeline(pipeline_layout.handle(), renderPass());
17496 pipe.CreateVKPipeline(pipeline_layout.handle(), renderPass());
17658 pipe1.CreateVKPipeline(pipeline_layout.handle(), renderPass());
17670 pipe2.CreateVKPipeline(pipeline_layout.handle(), renderPass());
17741 pipe.CreateVKPipeline(pipeline_layout.handle(), renderPass());
17790 pipe.CreateVKPipeline(pipeline_layout.handle(), renderPass());
18009 // Finally some layout errors at RenderPass create time
18071 // For this error we need a valid renderpass so create default one
18504 pipe.CreateVKPipeline(pipeline_layout.handle(), renderPass());
19101 pipe.CreateVKPipeline(pipeline_layout.handle(), renderPass());
19220 pipe.CreateVKPipeline(pipeline_layout.handle(), renderPass());
19329 pipe.CreateVKPipeline(pipeline_layout.handle(), renderPass());
19500 "Bind a secondary command buffer with a framebuffer that does not match the framebuffer for the active renderpass.");
19504 // A renderpass with one color attachment.
19562 cbii.renderPass = renderPass();
19594 // Create a renderPass with a single color attachment
19628 fb_info.renderPass = rp;
19644 rpbi.renderPass = rp;
19936 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
20003 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
20088 graphicspipe_create_info.renderPass = renderPass();
20161 pipe.CreateVKPipeline(pipeline_layout.handle(), renderPass());
20207 pipe.CreateVKPipeline(pipeline_layout.handle(), renderPass());
20255 pipe.CreateVKPipeline(pipeline_layout.handle(), renderPass());
20722 pipe.CreateVKPipeline(pipe_layout.handle(), renderPass());
20763 pipe.CreateVKPipeline(pipe_layout.handle(), renderPass());
20803 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
20844 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
20887 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
20928 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
20971 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
21014 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
21057 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
21092 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
21127 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
21175 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
21227 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
21267 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
21318 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
21358 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
21394 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
21537 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
21603 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
21619 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
21632 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
21639 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
21648 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
21657 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
21663 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
21672 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
21726 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
21766 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
21806 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
21851 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
21897 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
21942 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
21990 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
22032 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
22094 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
22228 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
22363 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
22472 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
22533 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
22575 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
22616 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
22661 pipe.CreateVKPipeline(pl.handle(), renderPass());
22774 pipe.CreateVKPipeline(pl.handle(), renderPass());
22897 VkResult err = pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
22957 VkResult err = pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
23016 VkResult err = pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
27540 pipelineobj.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
27608 pipelineobj.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
27709 pipelineobj.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
27845 cmd_buf_inheritance_info.renderPass = VK_NULL_HANDLE;
27875 "Create a secondary command buffer with CmdClearAttachments call that has a rect outside of renderPass renderArea");
27890 command_buffer_inheritance_info.renderPass = m_renderPass;
27938 command_buffer_inheritance_info.renderPass = m_renderPass;
29450 pipe.CreateVKPipeline(pipeline_layout.handle(), renderPass());
29938 pipe.CreateVKPipeline(pipeline_layout.handle(), renderPass());
30437 // A renderpass with one color attachment.
30487 // Begin our cmd buffer with renderpass using our framebuffer
30824 hinfo.renderPass = VK_NULL_HANDLE;
32011 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
32064 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
32123 // Create a renderPass with two color attachments
32153 VkRenderPass renderpass;
32154 vkCreateRenderPass(m_device->device(), &rpci, NULL, &renderpass);
32166 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderpass);
32167 vkDestroyRenderPass(m_device->device(), renderpass, nullptr);
32203 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
32252 err = pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
32320 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
32375 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
32460 pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
34421 pipe.CreateVKPipeline(pipeline_layout.handle(), renderPass());
34516 VkResult err = pipe.CreateVKPipeline(descriptor_set.GetPipelineLayout(), renderPass());
34585 // VUID-vkCmdDrawIndirectCountKHR-renderPass-03113
34642 VkResult err = pipe.CreateVKPipeline(descriptorSet.GetPipelineLayout(), renderPass());
34738 // VUID-vkCmdDrawIndexedIndirectCountKHR-renderPass-03145
36004 helper.gp_ci_.renderPass = rp;
36089 helper.gp_ci_.renderPass = rp;
36182 helper.gp_ci_.renderPass = rp;
36540 pipe.CreateVKPipeline(pl.handle(), renderPass());