Magnus Norddahl
c137e868de
- patch in/out layout declarations for OpenGL
2019-03-05 01:17:23 +01:00
Magnus Norddahl
c70aff99e7
- enable RenderFirstSkyPortal
2019-03-04 15:55:43 +01:00
Magnus Norddahl
32ad6dc887
- draw the weapon
2019-03-04 15:27:54 +01:00
Magnus Norddahl
d23fbb07cd
Merge branch 'vulkan2' of https://github.com/coelckers/gzdoom into vulkan2
2019-03-04 15:24:30 +01:00
Magnus Norddahl
a8a444f010
- missed two places where VK_FORMAT_D24_UNORM_S8_UINT was used
2019-03-04 15:23:49 +01:00
alexey.lysiuk
84a4c9c3a7
- reorderer member initialization in Vulkan objects
...
This is needed to prevent compilation warnings spam with GCC and Clang
While the warning itself is useful, in this case it's rather pointless and annoying
2019-03-04 16:18:37 +02:00
Magnus Norddahl
2532e4bba6
- fall back to VK_FORMAT_D32_SFLOAT_S8_UINT if VK_FORMAT_D24_UNORM_S8_UINT is not supported
2019-03-04 14:47:49 +01:00
Magnus Norddahl
0a6d77a861
- fall back to linear if tiling is not supported by the device
2019-03-04 13:51:58 +01:00
Magnus Norddahl
9861642fcc
- add missing vulkan used features
2019-03-04 13:28:29 +01:00
alexey.lysiuk
802d37f377
- fixed compilation of Linux target
...
Base and OpenGL framebuffer classes still require proper splitting
2019-03-04 12:47:00 +02:00
alexey.lysiuk
7efa231e4e
- fixed compilation of macOS target
...
Base and OpenGL framebuffer classes still require proper splitting
2019-03-04 12:46:37 +02:00
alexey.lysiuk
6144f02f67
- initialized all members of VkWin32SurfaceCreateInfoKHR
...
Without such initialization vkCreateWin32SurfaceKHR() crashed inside AMD Vulkan driver
2019-03-04 11:36:38 +02:00
alexey.lysiuk
30c6ae5078
- fixed compilation of 32-bit Windows targets and MSVC 2015
2019-03-04 11:35:12 +02:00
Magnus Norddahl
0e43979c28
- fix colormask alpha typo
2019-03-04 01:54:57 +01:00
Magnus Norddahl
f04522c397
- fix depthstencil attachment not being attached when only stencil tests were enabled
2019-03-04 01:49:27 +01:00
Magnus Norddahl
99c3d72aa0
- fix typos
2019-03-04 01:23:13 +01:00
Magnus Norddahl
ddf21ffd72
- create a descriptor for each texture+sampler configuration in use
2019-03-04 00:28:37 +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
56afcd210b
- fix: gl_PointSize is required in Vulkan when drawing points
...
- fix: add depthstencil attachment when stencil is active while depth is not
2019-03-03 23:30:36 +01:00
Magnus Norddahl
923fb5c127
- implement the depth and stencil states
2019-03-03 22:25:38 +01:00
Magnus Norddahl
d516b2ff7b
- fix typo and add color
2019-03-03 14:40:56 +01:00
Magnus Norddahl
9d792f79f1
- add vulkan info to startup log
2019-03-03 14:32:03 +01:00
Magnus Norddahl
7d56aa4b0b
Merge remote-tracking branch 'origin/master' into vulkan2
2019-03-03 13:45:22 +01:00
Christoph Oelckers
213dfd2aaa
- fixed: when resizing the viewpoint buffer, the 2D entry must be reset so that for the next frame it gets recalculated.
2019-03-03 13:26:10 +01:00
Christoph Oelckers
3698a5edc1
- replaced the assignment operator in player_t with a named function.
...
This didn't behave like an assignment operator so it shouldn't be one, especially since the two places where it got called need different functionality.
2019-03-03 12:12:17 +01:00
Christoph Oelckers
b3cff43be3
- fixed: SBARInfo's Tick function was using actor references from its last Draw operation.
...
Between these two calls these can change so these need to be retrieved each time either Draw or Tick are called.
2019-03-03 09:59:08 +01:00
Rachael Alexanderson
13d07e7912
- fix what appears to have been an accidental debug commit, this broke portals and skies
2019-03-03 03:24:55 -05:00
Christoph Oelckers
f3813c036f
- filter out the BIGFONT lump in Chex Quest, now that we have a more complete font internally.
2019-03-03 07:50:10 +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
1d003ca3fc
Merge branch 'vulkan2' of https://github.com/coelckers/gzdoom into vulkan2
2019-03-03 00:06:33 +01:00
Magnus Norddahl
cab441591f
- add some of the same checks that glrenderstate uses
2019-03-03 00:06:17 +01:00
Christoph Oelckers
6ba8fee5c2
Merge branch 'master' into vulkan2
2019-03-03 00:04:19 +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
Christoph Oelckers
eacc6c8e08
- fixed: ACS's LocalAmbientSound did not check the activator before calling its methods.
2019-03-02 23:01:42 +01:00
Magnus Norddahl
656a3b8fba
- allocate more descriptors in the pool
2019-03-02 22:41:36 +01:00
Christoph Oelckers
0dc3485990
- fixed: in CollectWithinRadius, make pos a value variable instead of a reference.
...
The underlying data here can be reallocated and invalidate what it points to.
2019-03-02 22:10:44 +01:00
Magnus Norddahl
ef30ddbd40
- fix typo
2019-03-02 21:34:34 +01:00
Magnus Norddahl
763e33badb
- fix typo
2019-03-02 21:12:50 +01:00
Christoph Oelckers
0f184a0f28
- reject all DMX sounds shorter than or equal 8 bytes.
...
8 bytes is the minimum header size for DMX, so for one byte of sample data it has to be 9 bytes.
This was causing access to invalid memory when trying to read the header of something too short.
For other file formats this is of no concern because none has a header this short.
2019-03-02 21:10:24 +01:00
Magnus Norddahl
b0b4028e0b
- align by 256 instead of 128
2019-03-02 17:51:57 +01:00
Magnus Norddahl
327b9a91f1
- fix one more validation error
2019-03-02 17:27:19 +01:00
Magnus Norddahl
47ce44e5f0
- add missing image usage flag
2019-03-02 17:20:14 +01:00
Magnus Norddahl
1bdaf24fa8
- add features reported by validation layer
2019-03-02 17:17:33 +01:00
Magnus Norddahl
09ea775b40
- make the vulkan logging a bit more readable
2019-03-02 17:11:23 +01:00
Magnus Norddahl
28f83fc9db
- found the stupid bug that caused validation layer not to work..
2019-03-02 16:52:33 +01:00
Magnus Norddahl
8854fad165
- fix some additional image transition errors reported by RenderDoc during the first frame
2019-03-02 16:36:29 +01:00