summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8e58fc4)
Vulkan likes to use BGR for swapchain images, at least on my machine
- if(comp!=RED && comp!=RG && comp!=RGB && comp!=RGBA)
+ if(comp!=RED && comp!=RG && comp!=RGB && comp!=RGBA && comp!=BGR && comp!=BGRA)
+ throw invalid_argument("make_typed_attachment");
+ if(get_required_swizzle(comp))
throw invalid_argument("make_typed_attachment");
}
throw invalid_argument("make_typed_attachment");
}