Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
9bc8bd3
Start testing Vulkan
AlexDicy Oct 4, 2025
2a7c227
Fix compiler directive
AlexDicy Oct 5, 2025
e893795
Only enable validations layers if not on windows or the path is defined
AlexDicy Oct 5, 2025
37a7ce7
Update naming conventions
AlexDicy Oct 5, 2025
442f79e
Create surface, logical device, queues...
AlexDicy Oct 5, 2025
cb2b90e
Create swap chain and image views
AlexDicy Oct 5, 2025
d297555
Create render pass and graphics pipeline
AlexDicy Oct 5, 2025
4d6cd51
We havea a colored triangle!
AlexDicy Oct 5, 2025
3087d67
Little cleanup
AlexDicy Oct 5, 2025
57b7841
Remove redundant sType everywhere
AlexDicy Oct 5, 2025
c27f25a
Allow 2 in-flight frames
AlexDicy Oct 5, 2025
7a9d1d5
Handle resizes
AlexDicy Oct 5, 2025
b68aae1
Handle minimized window
AlexDicy Oct 5, 2025
83e4d85
Fix vector size debug check
AlexDicy Oct 5, 2025
e96b4fb
Start refactoring Textures to support more APIs
AlexDicy Oct 5, 2025
9254caf
Start using the new texture class
AlexDicy Oct 5, 2025
c32a884
Use new texture API
AlexDicy Oct 6, 2025
d98f631
Do not clamp to edge textures by default
AlexDicy Oct 6, 2025
3ab306f
Improve Image API based on Texture
AlexDicy Oct 6, 2025
5965ea4
Use original assimp
AlexDicy Oct 7, 2025
6ac61c5
Remove createTexture2D methods
AlexDicy Oct 7, 2025
050646c
Use Texture class for createTextureCube, including Skybox
AlexDicy Oct 7, 2025
c15ea78
Update builder methods and replace more createTexture calls
AlexDicy Oct 8, 2025
fdf9051
Remove Texture2D, break IBL in the process
AlexDicy Oct 8, 2025
9c9848f
Fix use of wrong constructor
AlexDicy Oct 9, 2025
a2f77db
Remove TextureCube
AlexDicy Oct 9, 2025
d5e4df6
Remove TextureCubeArray
AlexDicy Oct 9, 2025
3d2a9f9
Move more logic to base Renderer
AlexDicy Oct 9, 2025
ce66923
More code refactoring
AlexDicy Oct 9, 2025
e9383b1
Fix OpenGL API error
AlexDicy Oct 9, 2025
f08b813
Refactor TextureFormats class
AlexDicy Oct 10, 2025
bbc1d7c
Use Texture builder everywhere. Add support for multisampled textures…
AlexDicy Oct 10, 2025
61b70c5
Start working on Pipelines
AlexDicy Oct 11, 2025
9f45e5b
Start refactoring to use command queues
AlexDicy Oct 12, 2025
db91515
Allow to use const methods
AlexDicy Oct 12, 2025
1c979f7
Use unique_ptr to move image/texture data around
AlexDicy Oct 13, 2025
4ab2546
Store reference to Renderer in Texture class
AlexDicy Oct 14, 2025
0e7ef39
Use Renderer for resize
AlexDicy Oct 14, 2025
1510cbc
Add sync commands
AlexDicy Oct 16, 2025
d0fb659
Use sync commands to read texture data and create CubeMap
AlexDicy Oct 16, 2025
d82d549
Move more calls to the base class and RenderCommands
AlexDicy Oct 17, 2025
1ae56f3
Remove multiple pushCommandSync calls
AlexDicy Oct 17, 2025
3ce1c39
Rename RenderCommand.h to RenderCommandQueue.h
AlexDicy Oct 20, 2025
c46bcdc
Start working on Framebuffers
AlexDicy Oct 20, 2025
bed9df8
Build framebuffer and use it in place of RenderFramebuffer
AlexDicy Nov 2, 2025
edf2e70
Use new Framebuffer for JumpFlooding/RenderPass
AlexDicy Nov 2, 2025
e081dc6
Use new Framebuffer for directional shadows
AlexDicy Nov 2, 2025
0f45d60
Start adding support for cube array framebuffer
AlexDicy Nov 2, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions assets/shaders/vulkan-test.frag
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#version 450

layout(location = 0) in vec3 fragColor;

layout(location = 0) out vec4 outColor;

void main() {
outColor = vec4(fragColor, 1.0);
}
Binary file added assets/shaders/vulkan-test.frag.spv
Binary file not shown.
20 changes: 20 additions & 0 deletions assets/shaders/vulkan-test.vert
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#version 450

layout(location = 0) out vec3 fragColor;

vec2 positions[3] = vec2[](
vec2(0.0, -0.5),
vec2(0.5, 0.5),
vec2(-0.5, 0.5)
);

vec3 colors[3] = vec3[](
vec3(1.0, 0.0, 0.0),
vec3(0.0, 1.0, 0.0),
vec3(0.0, 0.0, 1.0)
);

void main() {
gl_Position = vec4(positions[gl_VertexIndex], 0.0, 1.0);
fragColor = colors[gl_VertexIndex];
}
Binary file added assets/shaders/vulkan-test.vert.spv
Binary file not shown.
Loading