Add bindless textures
Created bindless descriptors for holding texture data.
This commit is contained in:
1 parent
d328e38761
commit
bd4dd74881
13 files changed
+136
-43
No files matched your search
@@ -1,7 +1,10 @@
|
||||
#version 450
|
||||
|
||||
/* Each time texture count is changed this value also need to change. I have to fix it somehow. */
|
||||
layout(binding = 1) uniform sampler2D texSampler[1];
|
||||
|
||||
#extension GL_EXT_nonuniform_qualifier : enable
|
||||
|
||||
layout(set = 1, binding = 1) uniform sampler2D texSampler[];
|
||||
|
||||
layout(location = 0) in vec3 fragColor;
|
||||
layout(location = 1) in vec2 fragTexCoord;
|
||||
|
||||
Reference in new issue
Block a user