Commit Graph

6760 Commits

Author SHA1 Message Date
Бранимир Караџић
557a65dbcf Updated spirv-cross. 2019-09-01 22:06:03 -07:00
Бранимир Караџић
aa4020988c Updated glslang. 2019-09-01 22:01:25 -07:00
Бранимир Караџић
9a31ca80fc Updated spirv-tools. 2019-09-01 21:42:18 -07:00
Бранимир Караџић
fe3a29eb44 Updated spirv-headers. 2019-09-01 18:14:47 -07:00
Бранимир Караџић
9c910e1c64 Updated ImGui. 2019-09-01 18:13:41 -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
kingscallop
65303869ab Fixes shaderc texture array usage detection. 2019-09-01 15:06:20 -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
Бранимир Караџић
b50b669aec Updated ImGui. 2019-08-29 22:09:53 -07:00
Бранимир Караџић
7758c6a69c Fixed warnings. 2019-08-28 21:00:39 -07:00
Бранимир Караџић
94a2bc5cf7 Updated ImGui. 2019-08-28 20:30:19 -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
Бранимир Караџић
c98b36f288 Updated ImGui. 2019-08-23 20:05:15 -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
Бранимир Караџић
5907520a19 Updated spirv-tools. 2019-08-22 20:01:58 -07:00
Бранимир Караџић
cf5bf3c0e5 Updated glslang. 2019-08-22 19:50:36 -07:00
Бранимир Караџић
83db6bc637 Updated ImGui. 2019-08-22 19:48:18 -07:00
Бранимир Караџић
409d28706f Updated ImGui. 2019-08-20 20:32:25 -07:00
Бранимир Караџић
5e4646fbbc Updated Vulkan headers. 2019-08-19 19:32:56 -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
Бранимир Караџић
b079e67426 Cleanup. 2019-08-17 21:35:20 -07:00
Бранимир Караџић
ff7497fb3e Fixed build. 2019-08-17 17:58:49 -07:00
Leandro Freire
33ac8934ff Fixed tabs/spaces 2019-08-17 14:56:23 -07:00
Бранимир Караџић
3f647f1ca1 Fixed tabs/spaces. 2019-08-17 13:32:18 -07:00
Leandro Freire
d7c70c49e3 Add url to examples 2019-08-17 13:27:38 -07:00
Бранимир Караџић
0799f4b98c Updated README. 2019-08-17 12:39:56 -07:00
Бранимир Караџић
79dc0a3a0d Cleanup. 2019-08-17 12:38:23 -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
Бранимир Караџић
df42d7e0eb Updated ImGui. 2019-08-16 21:52:04 -07:00
Бранимир Караџић
2814ee8bb7 Fixed openUrl. 2019-08-16 07:05: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
Attila Kocsis
e0b99aa358 15-shadowmaps-simple: Fixed float depth packing mode 2019-08-16 06:49:25 -07:00
Бранимир Караџић
9009ba50ba Cleanup. 2019-08-15 21:55:09 -07:00
Бранимир Караџић
e9a199d22b VK: Added 21-deferred shaders. 2019-08-15 21:55:01 -07:00
Бранимир Караџић
d7f2ec9386 Fixed frame buffer image. 2019-08-15 21:54:17 -07:00
Бранимир Караџић
5edeea64a9 Cleanup. 2019-08-15 21:37:35 -07:00
Бранимир Караџић
e501923756 Fixed back buffer depth format. 2019-08-15 19:18:18 -07:00
Бранимир Караџић
07a0ecd743 Cleanup. 2019-08-15 08:11:34 -07:00
Бранимир Караџић
1768ace0f7 Cleanup. 2019-08-14 22:31:32 -07:00
Бранимир Караџић
1cd61e1c53 Updated meshoptimizer. 2019-08-14 22:30:44 -07:00
Бранимир Караџић
7b01a4dc9a Cleanup. 2019-08-14 22:21:29 -07:00
Бранимир Караџић
70d460bf32 Fixed build. 2019-08-14 21:46:50 -07:00
Бранимир Караџић
83ad581efd examples: Added example URL. 2019-08-14 21:19:49 -07:00