Lines Matching refs:m_device
173 VkFormatProperties format_props = m_device->format_properties(input_attribs.format); in TEST_F()
203 VkDescriptorSetObj descriptorSet(m_device); in TEST_F()
207 VkPipelineObj pipeline(m_device); in TEST_F()
237 vkCreateRenderPass(m_device->device(), &rpci, NULL, &renderpass); in TEST_F()
238 VkShaderObj vs(m_device, bindStateVertShaderText, VK_SHADER_STAGE_VERTEX_BIT, this); in TEST_F()
250 vkDestroyRenderPass(m_device->device(), renderpass, NULL); in TEST_F()
294 VkShaderObj vs(m_device, NoPointSizeVertShader, VK_SHADER_STAGE_VERTEX_BIT, this); in TEST_F()
316 VkShaderObj vs(m_device, bindStateVertPointSizeShaderText, VK_SHADER_STAGE_VERTEX_BIT, this); in TEST_F()
369 …if ((!m_device->phy().features().geometryShader) || (!m_device->phy().features().shaderTessellatio… in TEST_F()
387 VkShaderObj vs(m_device, bindStateVertPointSizeShaderText, VK_SHADER_STAGE_VERTEX_BIT, this); in TEST_F()
388 VkShaderObj gs(m_device, gsSource, VK_SHADER_STAGE_GEOMETRY_BIT, this); in TEST_F()
403 if (!m_device->phy().features().geometryShader) { in TEST_F()
480 VkShaderObj vs(m_device, bindStateVertPointSizeShaderText, VK_SHADER_STAGE_VERTEX_BIT, this); in TEST_F()
481 VkShaderObj gs(m_device, gsSource, VK_SHADER_STAGE_GEOMETRY_BIT, this); in TEST_F()
496 if (!m_device->phy().features().geometryShader) { in TEST_F()
522 VkShaderObj vs(m_device, bindStateVertPointSizeShaderText, VK_SHADER_STAGE_VERTEX_BIT, this); in TEST_F()
523 VkShaderObj gs(m_device, gsSource, VK_SHADER_STAGE_GEOMETRY_BIT, this); in TEST_F()
550 VkResult err = vkCreateDescriptorSetLayout(m_device->device(), &ds_layout_ci, NULL, &ds_layout); in TEST_F()
554 const auto excess_layouts = 1 + m_device->phy().properties().limits.maxBoundDescriptorSets; in TEST_F()
565 err = vkCreatePipelineLayout(m_device->device(), &pipeline_layout_ci, NULL, &pipeline_layout); in TEST_F()
569 vkDestroyDescriptorSetLayout(m_device->device(), ds_layout, NULL); in TEST_F()
577 …uint32_t max_uniform_buffers = m_device->phy().properties().limits.maxPerStageDescriptorUniformBuf… in TEST_F()
578 …uint32_t max_storage_buffers = m_device->phy().properties().limits.maxPerStageDescriptorStorageBuf… in TEST_F()
579 …uint32_t max_sampled_images = m_device->phy().properties().limits.maxPerStageDescriptorSampledImag… in TEST_F()
580 …uint32_t max_storage_images = m_device->phy().properties().limits.maxPerStageDescriptorStorageImag… in TEST_F()
581 uint32_t max_samplers = m_device->phy().properties().limits.maxPerStageDescriptorSamplers; in TEST_F()
583 …uint32_t max_input_attachments = m_device->phy().properties().limits.maxPerStageDescriptorInputAtt… in TEST_F()
585 …uint32_t sum_dyn_uniform_buffers = m_device->phy().properties().limits.maxDescriptorSetUniformBuff… in TEST_F()
586 … uint32_t sum_uniform_buffers = m_device->phy().properties().limits.maxDescriptorSetUniformBuffers; in TEST_F()
587 …uint32_t sum_dyn_storage_buffers = m_device->phy().properties().limits.maxDescriptorSetStorageBuff… in TEST_F()
588 … uint32_t sum_storage_buffers = m_device->phy().properties().limits.maxDescriptorSetStorageBuffers; in TEST_F()
589 uint32_t sum_sampled_images = m_device->phy().properties().limits.maxDescriptorSetSampledImages; in TEST_F()
590 uint32_t sum_storage_images = m_device->phy().properties().limits.maxDescriptorSetStorageImages; in TEST_F()
591 uint32_t sum_samplers = m_device->phy().properties().limits.maxDescriptorSetSamplers; in TEST_F()
592 …uint32_t sum_input_attachments = m_device->phy().properties().limits.maxDescriptorSetInputAttachme… in TEST_F()
629 VkResult err = vkCreateDescriptorSetLayout(m_device->device(), &ds_layout_ci, NULL, &ds_layout); in TEST_F()
641 err = vkCreatePipelineLayout(m_device->device(), &pipeline_layout_ci, NULL, &pipeline_layout); in TEST_F()
643 …vkDestroyPipelineLayout(m_device->device(), pipeline_layout, NULL); // Unnecessary but harmless i… in TEST_F()
645 vkDestroyDescriptorSetLayout(m_device->device(), ds_layout, NULL); in TEST_F()
661 err = vkCreateDescriptorSetLayout(m_device->device(), &ds_layout_ci, NULL, &ds_layout); in TEST_F()
673 err = vkCreatePipelineLayout(m_device->device(), &pipeline_layout_ci, NULL, &pipeline_layout); in TEST_F()
675 …vkDestroyPipelineLayout(m_device->device(), pipeline_layout, NULL); // Unnecessary but harmless i… in TEST_F()
677 vkDestroyDescriptorSetLayout(m_device->device(), ds_layout, NULL); in TEST_F()
696 err = vkCreateDescriptorSetLayout(m_device->device(), &ds_layout_ci, NULL, &ds_layout); in TEST_F()
708 err = vkCreatePipelineLayout(m_device->device(), &pipeline_layout_ci, NULL, &pipeline_layout); in TEST_F()
710 …vkDestroyPipelineLayout(m_device->device(), pipeline_layout, NULL); // Unnecessary but harmless i… in TEST_F()
712 vkDestroyDescriptorSetLayout(m_device->device(), ds_layout, NULL); in TEST_F()
732 err = vkCreateDescriptorSetLayout(m_device->device(), &ds_layout_ci, NULL, &ds_layout); in TEST_F()
744 err = vkCreatePipelineLayout(m_device->device(), &pipeline_layout_ci, NULL, &pipeline_layout); in TEST_F()
746 …vkDestroyPipelineLayout(m_device->device(), pipeline_layout, NULL); // Unnecessary but harmless i… in TEST_F()
748 vkDestroyDescriptorSetLayout(m_device->device(), ds_layout, NULL); in TEST_F()
764 err = vkCreateDescriptorSetLayout(m_device->device(), &ds_layout_ci, NULL, &ds_layout); in TEST_F()
772 err = vkCreatePipelineLayout(m_device->device(), &pipeline_layout_ci, NULL, &pipeline_layout); in TEST_F()
774 …vkDestroyPipelineLayout(m_device->device(), pipeline_layout, NULL); // Unnecessary but harmless i… in TEST_F()
776 vkDestroyDescriptorSetLayout(m_device->device(), ds_layout, NULL); in TEST_F()
788 err = vkCreateDescriptorSetLayout(m_device->device(), &ds_layout_ci, NULL, &ds_layout); in TEST_F()
796 err = vkCreatePipelineLayout(m_device->device(), &pipeline_layout_ci, NULL, &pipeline_layout); in TEST_F()
798 …vkDestroyPipelineLayout(m_device->device(), pipeline_layout, NULL); // Unnecessary but harmless i… in TEST_F()
800 vkDestroyDescriptorSetLayout(m_device->device(), ds_layout, NULL); in TEST_F()
808 …uint32_t max_uniform_buffers = m_device->phy().properties().limits.maxPerStageDescriptorUniformBuf… in TEST_F()
809 …uint32_t max_storage_buffers = m_device->phy().properties().limits.maxPerStageDescriptorStorageBuf… in TEST_F()
810 …uint32_t max_sampled_images = m_device->phy().properties().limits.maxPerStageDescriptorSampledImag… in TEST_F()
811 …uint32_t max_storage_images = m_device->phy().properties().limits.maxPerStageDescriptorStorageImag… in TEST_F()
812 uint32_t max_samplers = m_device->phy().properties().limits.maxPerStageDescriptorSamplers; in TEST_F()
813 …uint32_t max_input_attachments = m_device->phy().properties().limits.maxPerStageDescriptorInputAtt… in TEST_F()
815 …uint32_t sum_dyn_uniform_buffers = m_device->phy().properties().limits.maxDescriptorSetUniformBuff… in TEST_F()
816 … uint32_t sum_uniform_buffers = m_device->phy().properties().limits.maxDescriptorSetUniformBuffers; in TEST_F()
817 …uint32_t sum_dyn_storage_buffers = m_device->phy().properties().limits.maxDescriptorSetStorageBuff… in TEST_F()
818 … uint32_t sum_storage_buffers = m_device->phy().properties().limits.maxDescriptorSetStorageBuffers; in TEST_F()
819 uint32_t sum_sampled_images = m_device->phy().properties().limits.maxDescriptorSetSampledImages; in TEST_F()
820 uint32_t sum_storage_images = m_device->phy().properties().limits.maxDescriptorSetStorageImages; in TEST_F()
821 uint32_t sum_samplers = m_device->phy().properties().limits.maxDescriptorSetSamplers; in TEST_F()
822 …uint32_t sum_input_attachments = m_device->phy().properties().limits.maxDescriptorSetInputAttachme… in TEST_F()
860 VkResult err = vkCreateDescriptorSetLayout(m_device->device(), &ds_layout_ci, NULL, &ds_layout); in TEST_F()
879 err = vkCreatePipelineLayout(m_device->device(), &pipeline_layout_ci, NULL, &pipeline_layout); in TEST_F()
881 …vkDestroyPipelineLayout(m_device->device(), pipeline_layout, NULL); // Unnecessary but harmless i… in TEST_F()
883 vkDestroyDescriptorSetLayout(m_device->device(), ds_layout, NULL); in TEST_F()
896 err = vkCreateDescriptorSetLayout(m_device->device(), &ds_layout_ci, NULL, &ds_layout); in TEST_F()
904 err = vkCreatePipelineLayout(m_device->device(), &pipeline_layout_ci, NULL, &pipeline_layout); in TEST_F()
906 …vkDestroyPipelineLayout(m_device->device(), pipeline_layout, NULL); // Unnecessary but harmless i… in TEST_F()
908 vkDestroyDescriptorSetLayout(m_device->device(), ds_layout, NULL); in TEST_F()
921 err = vkCreateDescriptorSetLayout(m_device->device(), &ds_layout_ci, NULL, &ds_layout); in TEST_F()
929 err = vkCreatePipelineLayout(m_device->device(), &pipeline_layout_ci, NULL, &pipeline_layout); in TEST_F()
931 …vkDestroyPipelineLayout(m_device->device(), pipeline_layout, NULL); // Unnecessary but harmless i… in TEST_F()
933 vkDestroyDescriptorSetLayout(m_device->device(), ds_layout, NULL); in TEST_F()
946 err = vkCreateDescriptorSetLayout(m_device->device(), &ds_layout_ci, NULL, &ds_layout); in TEST_F()
954 err = vkCreatePipelineLayout(m_device->device(), &pipeline_layout_ci, NULL, &pipeline_layout); in TEST_F()
956 …vkDestroyPipelineLayout(m_device->device(), pipeline_layout, NULL); // Unnecessary but harmless i… in TEST_F()
958 vkDestroyDescriptorSetLayout(m_device->device(), ds_layout, NULL); in TEST_F()
971 err = vkCreateDescriptorSetLayout(m_device->device(), &ds_layout_ci, NULL, &ds_layout); in TEST_F()
979 err = vkCreatePipelineLayout(m_device->device(), &pipeline_layout_ci, NULL, &pipeline_layout); in TEST_F()
981 …vkDestroyPipelineLayout(m_device->device(), pipeline_layout, NULL); // Unnecessary but harmless i… in TEST_F()
983 vkDestroyDescriptorSetLayout(m_device->device(), ds_layout, NULL); in TEST_F()
1007 err = vkCreateDescriptorSetLayout(m_device->device(), &ds_layout_ci, NULL, &ds_layout); in TEST_F()
1016 err = vkCreatePipelineLayout(m_device->device(), &pipeline_layout_ci, NULL, &pipeline_layout); in TEST_F()
1018 …vkDestroyPipelineLayout(m_device->device(), pipeline_layout, NULL); // Unnecessary but harmless i… in TEST_F()
1020 vkDestroyDescriptorSetLayout(m_device->device(), ds_layout, NULL); in TEST_F()
1038 err = vkCreateDescriptorSetLayout(m_device->device(), &ds_layout_ci, NULL, &ds_layout); in TEST_F()
1046 err = vkCreatePipelineLayout(m_device->device(), &pipeline_layout_ci, NULL, &pipeline_layout); in TEST_F()
1048 …vkDestroyPipelineLayout(m_device->device(), pipeline_layout, NULL); // Unnecessary but harmless i… in TEST_F()
1050 vkDestroyDescriptorSetLayout(m_device->device(), ds_layout, NULL); in TEST_F()
1063 err = vkCreateDescriptorSetLayout(m_device->device(), &ds_layout_ci, NULL, &ds_layout); in TEST_F()
1071 err = vkCreatePipelineLayout(m_device->device(), &pipeline_layout_ci, NULL, &pipeline_layout); in TEST_F()
1073 …vkDestroyPipelineLayout(m_device->device(), pipeline_layout, NULL); // Unnecessary but harmless i… in TEST_F()
1075 vkDestroyDescriptorSetLayout(m_device->device(), ds_layout, NULL); in TEST_F()
1140 buffer.init(*m_device, ci); in TEST_F()
1151 …(PFN_vkCmdDrawIndirectCountKHR)vkGetDeviceProcAddr(m_device->device(), "vkCmdDrawIndirectCountKHR"… in TEST_F()
1160 …(PFN_vkCmdDrawIndexedIndirectCountKHR)vkGetDeviceProcAddr(m_device->device(), "vkCmdDrawIndexedInd… in TEST_F()
1195 uint32_t x_count_limit = m_device->props.limits.maxComputeWorkGroupCount[0]; in TEST_F()
1196 uint32_t y_count_limit = m_device->props.limits.maxComputeWorkGroupCount[1]; in TEST_F()
1197 uint32_t z_count_limit = m_device->props.limits.maxComputeWorkGroupCount[2]; in TEST_F()
1203 uint32_t x_size_limit = m_device->props.limits.maxComputeWorkGroupSize[0]; in TEST_F()
1204 uint32_t y_size_limit = m_device->props.limits.maxComputeWorkGroupSize[1]; in TEST_F()
1205 uint32_t z_size_limit = m_device->props.limits.maxComputeWorkGroupSize[2]; in TEST_F()
1224 pipe.cs_.reset(new VkShaderObj(m_device, spv_source, VK_SHADER_STAGE_COMPUTE_BIT, this)); in TEST_F()
1239 uint32_t invocations_limit = m_device->props.limits.maxComputeWorkGroupInvocations; in TEST_F()
1250 VkShaderObj cs_obj(m_device, cs_text, VK_SHADER_STAGE_COMPUTE_BIT, this); in TEST_F()
1251 pipe.cs_.reset(new VkShaderObj(m_device, cs_text, VK_SHADER_STAGE_COMPUTE_BIT, this)); in TEST_F()
1319 VkShaderObj vs(m_device, bindStateVertShaderText, VK_SHADER_STAGE_VERTEX_BIT, this); in TEST_F()
1320 VkShaderObj fs(m_device, bindStateFragShaderText, VK_SHADER_STAGE_FRAGMENT_BIT, this); in TEST_F()
1449 const VkPhysicalDeviceLimits &dev_limits = m_device->props.limits; in TEST_F()
2007 if (!m_device->phy().features().multiViewport) { in TEST_F()
2064 const auto max_viewports = m_device->phy().properties().limits.maxViewports; in TEST_F()
2181 if (!m_device->phy().features().multiViewport) { in TEST_F()
2189 VkShaderObj vs(m_device, bindStateVertShaderText, VK_SHADER_STAGE_VERTEX_BIT, this); in TEST_F()
2190 VkShaderObj fs(m_device, bindStateFragShaderText, VK_SHADER_STAGE_FRAGMENT_BIT, this); in TEST_F()
2192 const VkPipelineLayoutObj pipeline_layout(m_device); in TEST_F()
2194 VkPipelineObj pipeline_dyn_vp(m_device); in TEST_F()
2202 VkPipelineObj pipeline_dyn_sc(m_device); in TEST_F()
2267 vertex_input_binding_description.binding = m_device->props.limits.maxVertexInputBindings; in TEST_F()
2287 … vertex_input_binding_description.stride = m_device->props.limits.maxVertexInputBindingStride + 1; in TEST_F()
2307 vertex_input_attribute_description.location = m_device->props.limits.maxVertexInputAttributes; in TEST_F()
2328 vertex_input_attribute_description.binding = m_device->props.limits.maxVertexInputBindings; in TEST_F()
2371 vertex_input_binding_description.stride = m_device->props.limits.maxVertexInputBindingStride; in TEST_F()
2396 OneOffDescriptorSet descriptor_set(m_device, { in TEST_F()
2408 const VkPipelineLayoutObj pipeline_layout(m_device, {&descriptor_set.layout_}); in TEST_F()
2410 VkShaderObj vs(m_device, bindStateVertShaderText, VK_SHADER_STAGE_VERTEX_BIT, this); in TEST_F()
2411 …VkShaderObj fs(m_device, bindStateFragShaderText, VK_SHADER_STAGE_FRAGMENT_BIT, this); // We shou… in TEST_F()
2413 VkPipelineObj pipe(m_device); in TEST_F()
2545 …VkConstantBufferObj vbo(m_device, sizeof(vbo_data), (const void *)&vbo_data, VK_BUFFER_USAGE_VERTE… in TEST_F()
2564 const uint32_t binding_count = m_device->props.limits.maxVertexInputBindings + 1; in TEST_F()
2608 const uint32_t attribute_count = m_device->props.limits.maxVertexInputAttributes + 1; in TEST_F()
2640 if (!m_device->phy().features().logicOp) { in TEST_F()
2738 vkCreateShaderModule(m_device->device(), &moduleCreateInfo, NULL, &module); in TEST_F()
2753 vkCreateShaderModule(m_device->handle(), &module_create_info, NULL, &shader_module); in TEST_F()
2779 vkCreateShaderModule(m_device->device(), &moduleCreateInfo, NULL, &module); in TEST_F()
2797 VkShaderObj vs(m_device, vsSource, VK_SHADER_STAGE_VERTEX_BIT, this); in TEST_F()
2819 VkShaderObj fs(m_device, fsSource, VK_SHADER_STAGE_FRAGMENT_BIT, this); in TEST_F()
2851 OneOffDescriptorSet descriptor_set(m_device, { in TEST_F()
2865 VkShaderObj vs(m_device, vsSource, VK_SHADER_STAGE_VERTEX_BIT, this); in TEST_F()
2871 pipe.pipeline_layout_ = VkPipelineLayoutObj(m_device, {&descriptor_set.layout_}); in TEST_F()
2885 OneOffDescriptorSet ds(m_device, { in TEST_F()
2899 VkShaderObj vs(m_device, vsSource, VK_SHADER_STAGE_VERTEX_BIT, this); in TEST_F()
2905 pipe.pipeline_layout_ = VkPipelineLayoutObj(m_device, {&ds.layout_}); in TEST_F()
2928 VkShaderObj vs(m_device, vsSource, VK_SHADER_STAGE_VERTEX_BIT, this); in TEST_F()
2936 const VkPipelineLayoutObj pipeline_layout(m_device, {}, {push_constant_range}); in TEST_F()
2942 pipe.pipeline_layout_ = VkPipelineLayoutObj(m_device, {}, {push_constant_range}); in TEST_F()
2973 VkShaderObj fs(m_device, fsSource, VK_SHADER_STAGE_FRAGMENT_BIT, this); in TEST_F()
2979 pipe.pipeline_layout_ = VkPipelineLayoutObj(m_device); in TEST_F()
3014 …VkResult err = vkCreateShaderModule(m_device->handle(), &module_create_info, NULL, &shader_module); in TEST_F()
3017 vkDestroyShaderModule(m_device->handle(), shader_module, NULL); in TEST_F()
3036 VkShaderObj fs(m_device, fsSource, VK_SHADER_STAGE_FRAGMENT_BIT, this); in TEST_F()
3061 VkShaderObj fs(m_device, fsSource, VK_SHADER_STAGE_FRAGMENT_BIT, this); in TEST_F()
3092 VkShaderObj vs(m_device, vsSource, VK_SHADER_STAGE_VERTEX_BIT, this); in TEST_F()
3093 VkShaderObj fs(m_device, fsSource, VK_SHADER_STAGE_FRAGMENT_BIT, this); in TEST_F()
3126 VkShaderObj vs(m_device, vsSource, VK_SHADER_STAGE_VERTEX_BIT, this); in TEST_F()
3127 VkShaderObj fs(m_device, fsSource, VK_SHADER_STAGE_FRAGMENT_BIT, this); in TEST_F()
3160 VkShaderObj vs(m_device, vsSource, VK_SHADER_STAGE_VERTEX_BIT, this); in TEST_F()
3161 VkShaderObj fs(m_device, fsSource, VK_SHADER_STAGE_FRAGMENT_BIT, this); in TEST_F()
3194 VkShaderObj vs(m_device, vsSource, VK_SHADER_STAGE_VERTEX_BIT, this); in TEST_F()
3195 VkShaderObj fs(m_device, fsSource, VK_SHADER_STAGE_FRAGMENT_BIT, this); in TEST_F()
3229 VkShaderObj vs(m_device, vsSource, VK_SHADER_STAGE_VERTEX_BIT, this); in TEST_F()
3230 VkShaderObj fs(m_device, fsSource, VK_SHADER_STAGE_FRAGMENT_BIT, this); in TEST_F()
3255 VkShaderObj vs(m_device, vsSource, VK_SHADER_STAGE_VERTEX_BIT, this); in TEST_F()
3256 VkShaderObj fs(m_device, fsSource, VK_SHADER_STAGE_FRAGMENT_BIT, this); in TEST_F()
3280 VkShaderObj vs(m_device, vsSource, VK_SHADER_STAGE_VERTEX_BIT, this); in TEST_F()
3281 VkShaderObj fs(m_device, fsSource, VK_SHADER_STAGE_FRAGMENT_BIT, this); in TEST_F()
3352 VkShaderObj vs(m_device, vsSource, VK_SHADER_STAGE_VERTEX_BIT, this); in TEST_F()
3383 VkShaderObj vs(m_device, vsSource, VK_SHADER_STAGE_VERTEX_BIT, this); in TEST_F()
3414 VkShaderObj fs(m_device, bindStateFragShaderText, VK_SHADER_STAGE_FRAGMENT_BIT, this, "foo"); in TEST_F()
3430 VkShaderObj vs(m_device, bindStateVertShaderText, VK_SHADER_STAGE_VERTEX_BIT, this); in TEST_F()
3431 VkShaderObj fs(m_device, bindStateFragShaderText, VK_SHADER_STAGE_FRAGMENT_BIT, this); in TEST_F()
3433 VkPipelineObj pipe(m_device); in TEST_F()
3438 VkDescriptorSetObj descriptorSet(m_device); in TEST_F()
3473 VkResult err = vkCreateRenderPass(m_device->device(), &rpci, nullptr, &rp); in TEST_F()
3480 vkDestroyRenderPass(m_device->device(), rp, nullptr); in TEST_F()
3491 if (!m_device->phy().features().tessellationShader) { in TEST_F()
3513 VkShaderObj tcs(m_device, tcsSource, VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT, this); in TEST_F()
3514 VkShaderObj tes(m_device, tesSource, VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT, this); in TEST_F()
3538 if (!m_device->phy().features().tessellationShader) { in TEST_F()
3557 VkShaderObj tcs(m_device, tcsSource, VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT, this); in TEST_F()
3558 VkShaderObj tes(m_device, tesSource, VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT, this); in TEST_F()
3615 tsci_bad.patchControlPoints = m_device->props.limits.maxTessellationPatchSize + 1; in TEST_F()
3651 VkShaderObj vs(m_device, vsSource, VK_SHADER_STAGE_VERTEX_BIT, this); in TEST_F()
3674 VkShaderObj fs(m_device, bindStateMinimalShaderText, VK_SHADER_STAGE_FRAGMENT_BIT, this); in TEST_F()
3700 VkShaderObj fs(m_device, fsSource, VK_SHADER_STAGE_FRAGMENT_BIT, this); in TEST_F()
3715 VkShaderObj fs(m_device, bindStateMinimalShaderText, VK_SHADER_STAGE_FRAGMENT_BIT, this); in TEST_F()
3745 VkShaderObj fs(m_device, fsSource, VK_SHADER_STAGE_FRAGMENT_BIT, this); in TEST_F()
3777 VkShaderObj fs(m_device, fsSource, VK_SHADER_STAGE_FRAGMENT_BIT, this); in TEST_F()
3796 const uint32_t maxVsOutComp = m_device->props.limits.maxVertexOutputComponents + overflow; in TEST_F()
3826 VkShaderObj vs(m_device, vsSourceStr.c_str(), VK_SHADER_STAGE_VERTEX_BIT, this); in TEST_F()
3827 VkShaderObj fs(m_device, fsSourceStr.c_str(), VK_SHADER_STAGE_FRAGMENT_BIT, this); in TEST_F()
3863 …const uint32_t maxTescInComp = m_device->props.limits.maxTessellationControlPerVertexInputComponen… in TEST_F()
3882 …const uint32_t maxTescOutComp = m_device->props.limits.maxTessellationControlPerVertexOutputCompon… in TEST_F()
3907 … VkShaderObj tcs(m_device, tcsSourceStr.c_str(), VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT, this); in TEST_F()
3908 …VkShaderObj tes(m_device, bindStateTeshaderText, VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT, this… in TEST_F()
3967 …const uint32_t maxTeseInComp = m_device->props.limits.maxTessellationEvaluationInputComponents + o… in TEST_F()
3986 …const uint32_t maxTeseOutComp = m_device->props.limits.maxTessellationEvaluationOutputComponents +… in TEST_F()
4010 … VkShaderObj tcs(m_device, bindStateTscShaderText, VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT, this); in TEST_F()
4011 …VkShaderObj tes(m_device, tesSourceStr.c_str(), VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT, this); in TEST_F()
4070 const uint32_t maxGeomInComp = m_device->props.limits.maxGeometryInputComponents + overflow; in TEST_F()
4089 … const uint32_t maxGeomOutComp = m_device->props.limits.maxGeometryOutputComponents + overflow; in TEST_F()
4108 …int max_vertices = overflow ? (m_device->props.limits.maxGeometryTotalOutputComponents / maxGeomOu… in TEST_F()
4115 VkShaderObj gs(m_device, gsSourceStr.c_str(), VK_SHADER_STAGE_GEOMETRY_BIT, this); in TEST_F()
4144 const uint32_t maxFsInComp = m_device->props.limits.maxFragmentInputComponents + overflow; in TEST_F()
4167 VkShaderObj fs(m_device, fsSourceStr.c_str(), VK_SHADER_STAGE_FRAGMENT_BIT, this); in TEST_F()
4209 std::to_string(m_device->props.limits.maxGeometryShaderInvocations + 1) + in TEST_F()
4212 std::to_string(m_device->props.limits.maxGeometryOutputVertices + 1); in TEST_F()
4228 VkShaderObj gs(m_device, gsSourceStr, VK_SHADER_STAGE_GEOMETRY_BIT, this); in TEST_F()
4251 VkShaderObj vs(m_device, bindStateVertShaderText, VK_SHADER_STAGE_VERTEX_BIT, this); in TEST_F()
4252 VkShaderObj fs(m_device, bindStateFragUniformShaderText, VK_SHADER_STAGE_FRAGMENT_BIT, this); in TEST_F()
4254 VkPipelineObj pipe(m_device); in TEST_F()
4262 VkDescriptorSetObj descriptorSet(m_device); in TEST_F()
4285 VkShaderObj vs(m_device, vsSource, VK_SHADER_STAGE_VERTEX_BIT, this); in TEST_F()
4291 pipe.pipeline_layout_ = VkPipelineLayoutObj(m_device, {}); in TEST_F()
4315 VkShaderObj fs(m_device, fsSource, VK_SHADER_STAGE_FRAGMENT_BIT, this); in TEST_F()
4343 VkShaderObj vs(m_device, bindStateVertShaderText, VK_SHADER_STAGE_VERTEX_BIT, this); in TEST_F()
4344 VkShaderObj fs(m_device, fsSource, VK_SHADER_STAGE_FRAGMENT_BIT, this); in TEST_F()
4346 VkPipelineObj pipe(m_device); in TEST_F()
4353 const VkDescriptorSetLayoutObj dsl(m_device, {dslb}); in TEST_F()
4355 const VkPipelineLayoutObj pl(m_device, {&dsl}); in TEST_F()
4377 VkResult err = vkCreateRenderPass(m_device->device(), &rpci, nullptr, &rp); in TEST_F()
4385 vkDestroyRenderPass(m_device->device(), rp, nullptr); in TEST_F()
4405 VkShaderObj fs(m_device, fsSource, VK_SHADER_STAGE_FRAGMENT_BIT, this); in TEST_F()
4433 pipe.cs_.reset(new VkShaderObj(m_device, csSource, VK_SHADER_STAGE_COMPUTE_BIT, this)); in TEST_F()
4435 pipe.pipeline_layout_ = VkPipelineLayoutObj(m_device, {}); in TEST_F()
4456 helper.cs_.reset(new VkShaderObj(m_device, csSource, VK_SHADER_STAGE_COMPUTE_BIT, this)); in TEST_F()
4499 ds_layouts.emplace_back(m_device, std::vector<VkDescriptorSetLayoutBinding>(1, dsl_binding), in TEST_F()
4514 vkCreatePipelineLayout(m_device->device(), &pipeline_layout_ci, NULL, &pipeline_layout); in TEST_F()
4628 VkResult err = vkCreateRenderPass(m_device->device(), &rpi, nullptr, &rp); in TEST_F()
4661 vkDestroyRenderPass(m_device->device(), rp, nullptr); in TEST_F()
4723 VkResult err = vkCreateRenderPass(m_device->device(), &rpi, nullptr, &rp); in TEST_F()
4746 vkDestroyRenderPass(m_device->device(), rp, nullptr); in TEST_F()
4822 VkResult err = vkCreateRenderPass(m_device->device(), &rpi, nullptr, &rp); in TEST_F()
4840 vkDestroyRenderPass(m_device->device(), rp, nullptr); in TEST_F()
4952 const VkDescriptorSetLayoutObj dsl(m_device, bindings); in TEST_F()
4953 const VkPipelineLayoutObj pl(m_device, {&dsl}); in TEST_F()
4992 …pipe.cs_.reset(new VkShaderObj(m_device, csSource, VK_SHADER_STAGE_COMPUTE_BIT, this, "main", fals… in TEST_F()
4994 pipe.pipeline_layout_ = VkPipelineLayoutObj(m_device, {}); in TEST_F()
5010 if (m_device->props.apiVersion < VK_API_VERSION_1_1) { in TEST_F()
5030 vkCreatePipelineLayout(m_device->device(), &pipeline_layout_ci, NULL, &pipeline_layout); in TEST_F()
5098 …VkResult result = vkCreateShaderModule(m_device->handle(), &module_create_info, NULL, &shader_modu… in TEST_F()
5146 VkPipelineObj pipe(m_device); in TEST_F()
5188 if (m_device->props.apiVersion < VK_API_VERSION_1_1) { in TEST_F()
5200 auto queue_family_properties = m_device->phy().queue_properties(); in TEST_F()
5337 auto features = m_device->phy().features(); in TEST_F()
5391 auto features = m_device->phy().features(); in TEST_F()
5437 auto features = m_device->phy().features(); in TEST_F()
5508 auto features = m_device->phy().features(); in TEST_F()
5565 auto features = m_device->phy().features(); in TEST_F()
5699 … (PFN_vkCmdSetLineStippleEXT)vkGetDeviceProcAddr(m_device->device(), "vkCmdSetLineStippleEXT"); in TEST_F()