Commit graph

1282 commits

Author SHA1 Message Date
6ff80e84a0 Vulkan descriptor sets work 2024-11-15 18:20:58 +01:00
27dcb7cb0c Vulkan work on framebuffers and textures 2024-09-17 00:41:04 +02:00
cd8ddfd806 Vulkan shader fixes 2024-08-27 21:53:51 +02:00
1d5d4ce775 GPU frame player and other fixes 2024-08-22 17:49:51 +02:00
9eeabfe033 Moved to Vulkan C API and updated VKS 2024-08-04 23:30:43 +02:00
Lubosz Sarnecki
2e91d3bd97 Renderpass: Include <stdexcept> for std::runtime error. 2024-07-20 00:04:18 +02:00
fb2b17d70e Changes necessary to build Vulkan branch updated to current master branch 2024-07-20 00:04:11 +02:00
Brad Davis
0d0d7389a1 rebase and shader fixes 2024-07-20 00:00:40 +02:00
Brad Davis
ad91b44aa2 . 2024-07-20 00:00:39 +02:00
Brad Davis
4cd817b8f5 Fixing vulkan playback 2024-07-20 00:00:39 +02:00
Brad Davis
ab828fbab2 Add renderpass abstraction 2024-07-20 00:00:39 +02:00
Brad Davis
1bc36b4f54 Plugin gpu backend access 2024-07-20 00:00:39 +02:00
Brad Davis
5d4419943e Buffer usage flags 2024-07-20 00:00:26 +02:00
Brad Davis
6b2057b4e3 Fixup shader interfaces 2024-07-19 23:47:21 +02:00
Brad Davis
b82a239df3 GPU state cleanup 2024-07-19 23:47:21 +02:00
Brad Davis
94a442b343 Remove unused uniform commands 2024-07-19 23:47:21 +02:00
Brad Davis
9ae4d34e7a Put vertex frequency in channel 2024-07-19 23:47:21 +02:00
Brad Davis
fb2b54cb40 Change descriptor declarations
Use INPUT and OUTPUT templates in shaders.

Co-authored-by: Lubosz Sarnecki <lubosz@gmail.com>
2024-07-19 23:47:20 +02:00
Dale Glass
9cb35541d3 Fix -Wtemplate-id-cdtor
warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
2024-05-04 15:56:06 +02:00
Dale Glass
fe550aa69f Whitespace changes 2024-05-04 15:56:06 +02:00
HifiExperiments
f27263cc6a clean up geometrycache and remove _glColor4f 2024-03-01 13:47:36 -08:00
HifiExperiments
5c5480bfc0 respect cull face during shadow pass 2024-02-28 15:23:39 -08:00
8b973bdfa3 Remove executable permission from a bunch of files 2023-03-14 00:02:33 +01:00
Heather Anderson
bcce9a2091 convert explicit shared pointer creation (using "new") to make_shared where possible/appropriate 2021-09-11 15:15:04 -07:00
HifiExperiments
bdbb88084b CR 2021-07-05 21:02:40 -07:00
HifiExperiments
7f99ddca2e merge with master 2021-07-05 16:48:45 -07:00
HifiExperiments
ab1b69ebe3 fix ktx issue 2021-04-01 23:39:00 -07:00
HifiExperiments
7ff796af3e web textures work on image entities, create supports negative materialMappingScale 2021-03-22 20:52:39 -07:00
HifiExperiments
35e836d34d image caching must maintain original image information and pass it around 2021-03-19 22:32:29 -07:00
HifiExperiments
15ba6c8637 fix build 2021-03-17 21:14:22 -07:00
HifiExperiments
9514ade844 add reference materials and support reference texture changes 2021-03-15 21:21:32 -07:00
HifiExperiments
828e653849 able to reference entity ids as textures 2021-03-13 22:34:48 -08:00
Dale Glass
3284313399 Mark font textures as something that shouldn't be downscaled 2020-10-27 18:24:08 +01:00
Thijs Wenker
aa5413fd71 fix VS2019 (Version 16.5.1) builds 2020-04-07 16:57:05 +02:00
Dale Glass
bb51a000fb Code style fixes 2020-01-17 00:41:16 +01:00
Dale Glass
367c5f39df Finish removal of getRaw() and bit fields 2020-01-16 21:02:58 +01:00
Dale Glass
8f65a90453 Remove getRaw() from DepthTest
State::getKey removed because it breaks and is not referenced from anywhere.
2020-01-14 23:00:08 +01:00
Dale Glass
ea36e7a239 Fix thousands of 'is too small to hold all values' warnings on Linux
When building with GCC, it generates 3020 warnings like this:

libraries/gpu/src/gpu/State.h:208:18: warning: ‘gpu::State::BlendFunction::destColor’
is too small to hold all values of ‘enum gpu::State::BlendArg’

This is because ‘enum gpu::State::BlendArg’ is declared as an enum
of uint16 size, and gpu::State::BlendFunction::destColor is a bit
field.

GCC correctly deduces that a 16 bit value won't always fit in a 4
bit field, and emits a warning.

The problem is that the amount is such that it floods the output and hides
other warnings.

Changing the 'enum foo : uint16' declarations to 'enum foo' stops gcc
from emitting the warning.

Making this change required the removal of a set of assertion checks. At least
empirically they seem unnecessary -- the interface compiles and runs fine.
2020-01-08 00:12:30 +01:00
HifiExperiments
1e100a672e merge with master and try to fix opacity mode stuff 2019-10-23 22:21:45 -07:00
Brad Davis
d69a83a2f2 fix warnings 2019-10-04 18:20:10 -07:00
Brad Davis
243120b95c Even better frame capture 2019-10-04 14:57:39 -07:00
Brad Davis
cc1be64850 Fixing build issues 2019-10-04 09:20:02 -07:00
Brad Davis
3c6e98f16b New format for captured GPU frames 2019-10-04 08:34:06 -07:00
HifiExperiments
97b9179144 merge with master 2019-09-05 00:46:56 -07:00
Sam Gateau
4a93b23d83 Address the procedural to populate all reflection versions with user uniforms bindings and make EnigneInspector works correctly 2019-08-13 18:47:57 -07:00
Sam Gateau
224e9590ec avoid using explicit dialects when we want just a default one 2019-08-13 15:45:24 -07:00
Sam Gateau
0b470b9ab8 Fixing the bad location assignment on gl41 on windows with Austin's help 2019-08-13 00:22:17 -07:00
Brad Davis
449f3d00f9 BUGZ-987: fix depth testing of HUD layer 3D objects 2019-07-23 12:09:12 -07:00
SamGondelman
60600779c9 merge with master 2019-07-12 11:01:17 -07:00
Seth Alves
9baf4c7078 comfort mode -- squeeze vision to avoid sickness 2019-07-12 09:14:17 -07:00