traits: disable problematic template for GCC
GCC experiences an ICE when compiling an (unused) trait template with stabs debugging stupport. Disable temporarily
This commit is contained in:
parent
bf265477f0
commit
7a971470e8
13
traits.hpp
13
traits.hpp
@ -100,11 +100,14 @@ namespace vk {
|
||||
static constexpr auto func = vkCreateGraphicsPipelines;
|
||||
};
|
||||
|
||||
template <> struct life_traits<pipeline> {
|
||||
template <VkPipelineBindPoint P>
|
||||
static constexpr auto create = create_traits<P>::func;
|
||||
static constexpr auto destroy = vkDestroyPipeline;
|
||||
};
|
||||
// XXX: Currently causes a segfault under gcc-5.3.0 when stabs debgging is
|
||||
// enabled. See gcc#71058
|
||||
//
|
||||
//template <> struct life_traits<pipeline> {
|
||||
// template <VkPipelineBindPoint P>
|
||||
// static constexpr auto create = create_traits<P>::func;
|
||||
// static constexpr auto destroy = vkDestroyPipeline;
|
||||
//};
|
||||
|
||||
template <> struct life_traits<pipeline_cache> {
|
||||
static constexpr auto create = vkCreatePipelineCache;
|
||||
|
Loading…
Reference in New Issue
Block a user