idk man
This commit is contained in:
@@ -5,7 +5,7 @@ layout(push_constant) uniform PushConstants {
|
||||
mat4 model;
|
||||
} push;
|
||||
|
||||
layout(binding = 0) uniform ObjectUniformData {
|
||||
layout(binding = 0, set = 0) uniform ObjectUniformData {
|
||||
mat4 view;
|
||||
mat4 projection;
|
||||
mat4 ortho_projection;
|
||||
@@ -15,7 +15,7 @@ layout(binding = 0) uniform ObjectUniformData {
|
||||
vec3 camera_position;
|
||||
} ubo;
|
||||
|
||||
layout(binding = 1) uniform sampler2D diffuse_tex;
|
||||
layout(binding = 1, set = 0) uniform sampler2D diffuse_tex;
|
||||
|
||||
layout(location = 0) in vec2 tex_coords;
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ layout(push_constant) uniform PushConstants {
|
||||
mat4 model;
|
||||
} push;
|
||||
|
||||
layout(binding = 0) uniform ObjectUniformData {
|
||||
layout(binding = 0, set = 0) uniform ObjectUniformData {
|
||||
mat4 view;
|
||||
mat4 projection;
|
||||
mat4 ortho_projection;
|
||||
|
||||
@@ -6,7 +6,7 @@ layout(push_constant) uniform PushConstants {
|
||||
bool is_selected;
|
||||
} push;
|
||||
|
||||
layout(binding = 0) uniform ObjectUniformData {
|
||||
layout(binding = 0, set = 0) uniform ObjectUniformData {
|
||||
mat4 view;
|
||||
mat4 projection;
|
||||
mat4 ortho_projection;
|
||||
@@ -16,7 +16,7 @@ layout(binding = 0) uniform ObjectUniformData {
|
||||
vec3 camera_position;
|
||||
} ubo;
|
||||
|
||||
layout(binding = 1) uniform sampler2D diffuse_tex;
|
||||
layout(binding = 1, set = 0) uniform sampler2D diffuse_tex;
|
||||
layout(binding = 2) uniform sampler2D normal_tex;
|
||||
|
||||
layout(location = 0) in vec2 tex_coords;
|
||||
|
||||
@@ -6,7 +6,7 @@ layout(push_constant) uniform PushConstants {
|
||||
bool is_selected;
|
||||
} push;
|
||||
|
||||
layout(binding = 0) uniform ObjectUniformData {
|
||||
layout(binding = 0, set = 0) uniform ObjectUniformData {
|
||||
mat4 view;
|
||||
mat4 projection;
|
||||
mat4 ortho_projection;
|
||||
|
||||
Reference in New Issue
Block a user