Commit Graph

14 Commits

Author SHA1 Message Date
Darío
210c5f0cf9
Add option and behavior to create the Vulkan interface correctly. (#99) 2024-12-23 23:26:36 -03:00
Darío
1684267f2c
RHI Updates (#88)
* Add buffer count, vsync, alpha to coverage, sampler heaps.

* Alternate resolve path with rasterization supported.

* Fix Linux.

* NVIDIA Driver Workaround.
2024-11-05 20:48:49 -03:00
Darío
85df6cf053
Negative noise dither option. (#81) 2024-09-17 09:11:41 -03:00
Darío
88c618c1f8
Add inspector with hooks for SDL2. (#75)
* Add inspector with hooks for SDL2.

* Fix build errors.

* Add the remaining SDL2 implementation that was required.
2024-08-10 19:41:29 -03:00
Darío
b91d6a7441
Use re-spirv instead of native specialization constants. Optimize the amount of ubershader pipelines that need to be created. (#69) 2024-08-07 21:38:50 -03:00
Darío
0fd6d05b8a
HD Textures (#34)
* Add support for HD Texture replacements.
2024-07-25 22:30:39 -03:00
Wiseguy
7f14741da2
Use correct warning flags under clang-cl and fix new warnings (#61) 2024-07-21 18:03:04 -03:00
Darío
56316549da
Use DXIL Linker to reduce compilation time of specializations significantly. (#55)
* Use DXIL Linker to reduce shader optimization time.

* Use string view on render params text.
2024-07-12 00:15:21 -03:00
Anghelo Carvajal
ed7511300c
Fix most warnings (#35)
* Turn on warnings

* -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function

* Fix -Wformat

```
warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
```

* Fix -Wrange-loop-construct warning

```
warning: loop variable 'it' creates a copy from type 'std::pair<const std::basic_string<char>, RT64::PresetLights::Light> const' [-Wrange-loop-construct]
```

* -Wsign-compare

```
comparison of integers of different signs: 'int32_t' (aka 'int') and 'uint32_t' (aka 'unsigned int')
```

* -Wrange-loop-construct

```
warning: loop variable ‘it’ creates a copy from type ‘const std::pair<const std::__cxx11::basic_string<char>, RT64::PresetDrawCall>’
```

* rerun

* Fix -Wparentheses

```
warning: suggest parentheses around arithmetic in operand of ‘^’
```

* -Wsign-compare

```
warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘unsigned int’
```

* Update hlslpp to fix a number of warnings

* Remove `#pragma once` in cpp file

```
warning: #pragma once in main file
```

* -Wswitch

```
warning: enumeration value ‘None’ not handled in switch
```

* -Wformat-security

```
warning: format not a string literal and no format arguments
```

* regen

* Move warnings to clang check

* Fix -Wdelete-non-abstract-non-virtual-dtor

```
warning: destructor called on non-final 'RT64::PresetMaterial' that has virtual functions but non-virtual destructor
```

* remove warnings file

* Fix one unused parameter

* Fix assert wrapping

* Add -Werror flag

* Change type of `dstIndex` to `uint32_t`

* More uses I missed

* Fix new warnings
2024-06-20 18:57:24 -03:00
Darío
64b9e166f7
Add dither noise approximation using post-blending draws. (#33) 2024-05-24 19:50:45 -03:00
Anghelo Carvajal
ca26fb8096
Link against Xrandr on Linux (#20)
* Add `Xrandr` to `target_link_libraries`

* Use the fancy cmake stuff
2024-05-19 12:56:46 -03:00
David Chavez
21cfeae50c
Standalone Graphics Test (#4)
* Add graphics test [WIP]

* Ignore IDEA files

* Explicit cast from size_t to uint64_t

* Build statically when buiding examples

* Remove unused file

* Runs on ARM64 Linux

* Update .gitignore
2024-05-14 21:35:45 -03:00
Darío
404f38c806
Linux changes (#3)
* WIP changes for linux

* Missing include.

* Thread names, file dialog, refresh rate detection changes.

---------

Co-authored-by: Mr-Wiseguy <mrwiseguyromhacking@gmail.com>
2024-04-22 20:11:59 -03:00
Darío
cbab135a31 Initial commit. 2024-04-14 16:43:05 -03:00