| 134 | } |
| 135 | |
| 136 | static VkDescriptorType getDescriptorType( BufferAttachment const & attach ) |
| 137 | { |
| 138 | if ( attach.isUniformView() ) |
| 139 | return VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER; |
| 140 | if ( attach.isStorageView() ) |
| 141 | return VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER; |
| 142 | if ( attach.isUniform() ) |
| 143 | return VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER; |
| 144 | return VK_DESCRIPTOR_TYPE_STORAGE_BUFFER; |
| 145 | } |
| 146 | |
| 147 | static VkDescriptorType getDescriptorType( ImageAttachment const & attach ) |
| 148 | { |
no test coverage detected