File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
builtin/glsl/virtual_geometry Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ class IDescriptorSet : public virtual core::IReferenceCounted
57
57
using this_type = IDescriptorSet<LayoutType>;
58
58
59
59
public:
60
+ using layout_t = LayoutType;
60
61
struct SDescriptorInfo
61
62
{
62
63
struct SBufferInfo
@@ -66,7 +67,7 @@ class IDescriptorSet : public virtual core::IReferenceCounted
66
67
};
67
68
struct SImageInfo
68
69
{
69
- core::smart_refctd_ptr<typename LayoutType ::sampler_type> sampler;
70
+ core::smart_refctd_ptr<typename layout_t ::sampler_type> sampler;
70
71
// ! Irrelevant in OpenGL backend
71
72
E_IMAGE_LAYOUT imageLayout;
72
73
};
@@ -131,15 +132,15 @@ class IDescriptorSet : public virtual core::IReferenceCounted
131
132
uint32_t count;
132
133
};
133
134
134
- const LayoutType * getLayout () const { return m_layout.get (); }
135
+ const layout_t * getLayout () const { return m_layout.get (); }
135
136
136
137
protected:
137
- IDescriptorSet (core::smart_refctd_ptr<LayoutType >&& _layout) : m_layout(std::move(_layout))
138
+ IDescriptorSet (core::smart_refctd_ptr<layout_t >&& _layout) : m_layout(std::move(_layout))
138
139
{
139
140
}
140
141
virtual ~IDescriptorSet () = default ;
141
142
142
- core::smart_refctd_ptr<LayoutType > m_layout;
143
+ core::smart_refctd_ptr<layout_t > m_layout;
143
144
};
144
145
145
146
Original file line number Diff line number Diff line change 20
20
#endif
21
21
#ifndef _NBL_VG_FLOAT_BUFFERS
22
22
#define _NBL_VG_FLOAT_BUFFERS_BINDING 1
23
- #define _NBL_VG_FLOAT_BUFFERS_COUNT 15
23
+ #define _NBL_VG_FLOAT_BUFFERS_COUNT 4
24
24
#endif
25
25
#ifndef _NBL_VG_INT_BUFFERS
26
26
#define _NBL_VG_INT_BUFFERS_BINDING 2
You can’t perform that action at this time.
0 commit comments