Add column to location logs
This option can be enabled using the new --error-column option to the command line utility. It can also be enabled programatically.
This commit is contained in:
parent
52f68dc6b2
commit
dc9f6f61ad
11 changed files with 77 additions and 11 deletions
27
Test/error-column.vert
Normal file
27
Test/error-column.vert
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
#version 450 core
|
||||
|
||||
layout (location = 0) in vec3 aPos;
|
||||
layout (location = 1) in vec2 aTexCoords;
|
||||
|
||||
layout (binding = 0) uniform block {
|
||||
const mat4 model;
|
||||
const mat4 view;
|
||||
const mat4 projection;
|
||||
};
|
||||
|
||||
layout (location = 0) out Vertex
|
||||
{
|
||||
vec3 color;
|
||||
vec3 worldSpacePos;
|
||||
vec3 worldSpaceNorm;
|
||||
const vec2 texCoord1;
|
||||
flat int cameraIndex;
|
||||
float ii;
|
||||
} vs_out;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = projection * view * model * vec4(Pos, 1.0);
|
||||
vs_out.texCoord1 = aTexCoords;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue