attilaz
694627885a
Added texture functions with bias parameter ( #1901 )
...
and fixed a typo
2019-10-04 20:03:51 -07:00
Бранимир Караџић
51ef65d52e
Cleanup.
2019-09-30 21:55:10 +02:00
Бранимир Караџић
acda24b16b
Removed thread check for getInternalData.
2019-09-13 19:18:51 -07:00
Бранимир Караџић
1e5c99ed76
VK: Added VK device to internal data.
2019-09-12 21:18:18 -07:00
Бранимир Караџић
6533baff7b
Cleanup.
2019-09-08 22:10:42 -07:00
Christophe Dehais
c6fc1b069d
End debug group before switching context
2019-09-06 18:57:09 -07:00
Cloud Wu
cb89ae4a90
Fix memory leak in iOS
2019-09-06 08:28:43 -07:00
Jonathan Young
3ea69999e6
Fix uninitialized Vulkan sampler hash.
2019-09-05 06:54:53 -07:00
kingscallop
0c90be66d0
Fix gl_FragColor for example 41
...
Support gl_FragColor with glsl fragment shaders with version 430. (Fixes example 41 using opengl)
2019-09-01 15:07:06 -07:00
kingscallop
fe045d0c98
Fix gpu_shader4 for some drivers
...
- Add gl_InstanceID (GL_ARB_draw_instanced) support for drivers that don't implement GL_EXT_gpu_shader4 extension (e.g. mesa driver 'i915' on Pentium G3258).
- Don't emit the glsl extension GL_EXT_gpu_shader4 if it isn't supported by the driver (e.g. mesa driver 'i915'). In case the shader uses gl_VertexID, bump up the shader version to 130.
2019-09-01 15:06:35 -07:00
Jonathan Young
d23c203981
Use correct texture mip dimensions in Vulkan renderer. 1x0 was possible for the lowest mip if the texture had a 2:1 or greater aspect ratio.
2019-08-30 07:22:57 -07:00
Бранимир Караџић
7758c6a69c
Fixed warnings.
2019-08-28 21:00:39 -07:00
Бранимир Караџић
016f29eea7
Cleanup.
2019-08-24 11:29:45 -07:00
Бранимир Караџић
31b2d37456
VK: Added more supported caps.
2019-08-23 20:48:58 -07:00
Бранимир Караџић
3f6d8a516d
Added configuration for GL min version.
2019-08-23 20:31:32 -07:00
Attila Kocsis
63045c63b7
Using runtime check to get displaySyncEnabled availability instead
...
of using deployment target.
note: '@available' was needed to silent warning. it was recommended fix by xcode. Every other method I have tried had warning. (using respondsToSelector or our macOSVersionEqualOrGreater function)
2019-08-23 06:57:18 -07:00
Rinthel
f453c55e7c
reflect review
2019-08-18 07:55:27 -07:00
Rinthel
b35efb53a1
refactor swapchain
2019-08-18 07:55:27 -07:00
Бранимир Караџић
ff7497fb3e
Fixed build.
2019-08-17 17:58:49 -07:00
Leandro Freire
214a125432
Use underscore on arguments
2019-08-17 12:32:16 -07:00
Leandro Freire
1db46f4fe6
Rename variables and constants
2019-08-17 12:32:16 -07:00
Бранимир Караџић
2554425bae
Cleanup.
2019-08-17 09:51:50 -07:00
Rinthel
4342db8f3b
VK: descriptor set optimization / refactoring
...
- add support to indirect compute call
- use dynamic uniform buffer instead of uniform
- create depth view for depth/stencil texture
- fix dynamic uniform buffer bug, apply it to compute shader
- refactor descriptor set allocation / setting
- fix image layout reinit
- get and set device feature / fix independent blending
- cleanup
2019-08-17 09:49:01 -07:00
attilaz
75d5662f0b
Metal: added support for binding buffers to vertex/fragment shader stages
...
I have removed the SamplerInfo workaround, because new shaderc preserves texture stages. Some shaders needed recompile with latest shaderc to get the new behavior.
2019-08-16 06:58:44 -07:00
Бранимир Караџић
d7f2ec9386
Fixed frame buffer image.
2019-08-15 21:54:17 -07:00
Бранимир Караџић
e501923756
Fixed back buffer depth format.
2019-08-15 19:18:18 -07:00
Бранимир Караџић
cebb749752
VK: Cleanup.
2019-08-14 08:05:00 -07:00
Бранимир Караџић
981ea06a97
Cleanup.
2019-08-13 19:22:46 -07:00
Rinthel
2fa32d855d
implement compute shader support
2019-08-13 18:44:42 -07:00
Leandro Freire
855623e153
Rename VertexDecl to VertexLayout
2019-08-13 18:42:01 -07:00
Rinthel Kwon
6bd22840e7
VK: fix vertex binding bug
2019-08-12 08:31:23 -07:00
Бранимир Караџић
a6316cbf75
VK: Added EXT_memory_budget support.
2019-08-11 18:23:42 -07:00
Attila Kocsis
6b96532a41
Vulkan: scissor extent fixed.
...
I have tested with imgui combobox.
2019-08-11 14:19:08 -07:00
Бранимир Караџић
518a5f189f
Fixed variable shadowing warning.
2019-08-11 09:08:16 -07:00
rinthel
2b5246f72c
implement multiple vertex stream
...
- additional condition for devices that don't have debug_utils extension
- set FIFO present mode if possible
- fix attachment load and store operation and its image layout during render pass creation
- fix resolve attachment reference setup during render pass creation
- implement multiple vertex stream
2019-08-11 09:05:29 -07:00
Бранимир Караџић
e8d4cd032a
VK: Added device info to debug screen.
2019-08-10 10:57:22 -07:00
Бранимир Караџић
289afdc762
Removed todos.
2019-08-10 08:00:06 -07:00
Бранимир Караџић
a0c06b1c7c
Cleanup.
2019-08-08 07:58:14 -07:00
Rinthel
d3d5aa04b4
implement blit / debug draw / instancing
2019-08-08 07:55:43 -07:00
Бранимир Караџић
0a59946b2a
Cleanup.
2019-08-07 07:50:17 -07:00
Бранимир Караџић
b53ae838d7
Cleanup.
2019-08-07 06:58:04 -07:00
Rinthel
72abfdc8a4
implement framebuffer / mipmap / cached sampler
...
- fix texture mipmap setting / texture update bug
- implement framebuffer
- fix image memory barrier bug
- vkstruct explicit initialization
- sampler caching
2019-08-07 06:49:52 -07:00
Бранимир Караџић
69a19c762c
Cleanup.
2019-08-04 20:05:42 -07:00
Бранимир Караџић
4591f5029e
Cleanup.
2019-08-04 19:54:27 -07:00
Бранимир Караџић
b59467c5fc
Cleanup.
2019-08-04 19:53:28 -07:00
Rinthel
e604ca021d
remove warning / add build option for osx
2019-08-04 19:51:16 -07:00
Rinthel Kwon
6927a9179b
vulkan renderer draft implementation
2019-08-04 19:51:16 -07:00
Attila Kocsis
3a7b71ee12
fixing readTexture for discrete gpus
2019-08-01 21:34:47 -07:00
Бранимир Караџић
02fc8a578b
Fixed build.
2019-07-28 08:25:08 -07:00
attilaz
22e1faca69
Fixed objc_msgSend in strict checking mode ( #1834 )
2019-07-26 17:20:56 -07:00