Magnus Norddahl
|
e06f8f172d
|
- use the uniform buffer alignment as returned by the vulkan device
|
2019-03-05 02:50:30 +01:00 |
|
Magnus Norddahl
|
95116e8580
|
- fix dynamic buffer offset not getting updated
- fix lightbuffer blocksize being hardcoded
|
2019-03-05 02:06:20 +01:00 |
|
Magnus Norddahl
|
0e43979c28
|
- fix colormask alpha typo
|
2019-03-04 01:54:57 +01:00 |
|
Magnus Norddahl
|
99c3d72aa0
|
- fix typos
|
2019-03-04 01:23:13 +01:00 |
|
Magnus Norddahl
|
eaf367e876
|
- add depth bias
|
2019-03-04 00:14:28 +01:00 |
|
Magnus Norddahl
|
cf49e1ec21
|
- add depth clamp support
|
2019-03-03 23:54:13 +01:00 |
|
Magnus Norddahl
|
923fb5c127
|
- implement the depth and stencil states
|
2019-03-03 22:25:38 +01:00 |
|
Magnus Norddahl
|
fd752dec54
|
- don't search for a renderpass if the current one matches
|
2019-03-03 00:16:00 +01:00 |
|
Magnus Norddahl
|
cab441591f
|
- add some of the same checks that glrenderstate uses
|
2019-03-03 00:06:17 +01:00 |
|
Magnus Norddahl
|
c657d8fd1e
|
- only bind vertex and index buffers if they change
|
2019-03-02 23:56:06 +01:00 |
|
Magnus Norddahl
|
c30edaa21a
|
- only update matrices if they change
|
2019-03-02 23:47:56 +01:00 |
|
Magnus Norddahl
|
2a6d37dd73
|
- clean up Apply function
|
2019-03-02 23:39:44 +01:00 |
|
Magnus Norddahl
|
0c9d27d078
|
- create an array for the stream data
|
2019-03-02 23:20:29 +01:00 |
|
Magnus Norddahl
|
b1f161040d
|
- transition image layouts and setup pipeline barriers (fixes some errors reported by RenderDoc)
|
2019-03-02 16:02:27 +01:00 |
|
Magnus Norddahl
|
05a6896d4f
|
- Pass vertex color and normal via uniform buffer when the attribute isn't available
|
2019-03-02 01:56:08 +01:00 |
|
Magnus Norddahl
|
7871ec06ae
|
- add depth/stencil attachment to the render pass
|
2019-03-01 21:34:08 +01:00 |
|
Magnus Norddahl
|
d73b0b3146
|
- create helper function for copying
|
2019-03-01 20:15:56 +01:00 |
|
Magnus Norddahl
|
ee8349d168
|
- add support for specifying the topology
|
2019-03-01 20:06:20 +01:00 |
|
Magnus Norddahl
|
01c78d7238
|
- add a bit of bounds checking just to be safe
|
2019-03-01 19:15:52 +01:00 |
|
Magnus Norddahl
|
c691a8fe64
|
- bind the vertex inputs as specified by its vertex buffer format
|
2019-03-01 15:37:13 +01:00 |
|
Magnus Norddahl
|
d4118a755c
|
- load all the shaders and use the right one for each renderpass
|
2019-03-01 02:40:02 +01:00 |
|
Magnus Norddahl
|
7f3e473f56
|
- create a render pass for each blend setup
|
2019-03-01 00:42:51 +01:00 |
|
Magnus Norddahl
|
e472050f36
|
- use dynamic state for viewport and scissor
|
2019-02-28 15:45:59 +01:00 |
|
Magnus Norddahl
|
45061e8b44
|
- no need to debug with a red clear anymore
|
2019-02-28 01:22:38 +01:00 |
|
Magnus Norddahl
|
2e0b34ca72
|
- hook up enough of renderstate to enable all of main.vp and main.fp
|
2019-02-28 00:26:49 +01:00 |
|
Magnus Norddahl
|
fe67a2c24f
|
- fix enough bugs to finally get some visuals
|
2019-02-26 20:19:54 +01:00 |
|
Magnus Norddahl
|
19f4133768
|
- move most push constants to dynamic uniform buffers
|
2019-02-26 16:50:54 +01:00 |
|
Magnus Norddahl
|
d958c4fec5
|
- upload and bind some textures
|
2019-02-26 15:29:08 +01:00 |
|
Magnus Norddahl
|
9ed1c7f40b
|
- add render pass manager and setup a pipeline for VkRenderState
|
2019-02-26 11:27:29 +01:00 |
|
Magnus Norddahl
|
a97d736bd9
|
- add vulkan renderstate and shadermanager classes
|
2019-02-21 22:49:00 +01:00 |
|