simplerr / UtopianEngine

A game engine in early development
MIT License
52 stars 5 forks source link

Descriptor binding ID:s when combining include files is confusing #92

Closed simplerr closed 4 years ago

simplerr commented 4 years ago

For example data\shaders\common\sky_color.glsl:

// Note: 8 because this is used together with ssr_vkdf.glsl // which occupies bindng 0-5 for G-buffer textures layout (set = 0, binding = 8) uniform UBO_parameters { float sphereRadius; float inclination;

simplerr commented 4 years ago

Solved for now by using high binding IDs in files that will be included.