Commit Graph

11 Commits

Author SHA1 Message Date
dcvz
5c5df60dce Merge branch 'main' into feature/metal
# Conflicts:
#	.gitmodules
#	examples/rt64_render_interface.cpp
#	src/d3d12/rt64_d3d12.cpp
#	src/render/rt64_raster_shader.cpp
#	src/render/rt64_shader_library.cpp
2024-08-07 17:18:53 +02:00
David Chavez
cb631739b0
chore(ci): Run workflow with clang on windows (#68)
* chore(ci): Run workflow with clang on windows

* fix compilation issue
2024-08-05 08:49:58 -03:00
Dario
825e5a8c78 Recursive workflow. 2024-08-04 15:36:28 -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
dcvz
ef64193213 Merge branch 'main' into feature/metal
# Conflicts:
#	src/d3d12/rt64_d3d12.cpp
#	src/render/rt64_raster_shader.cpp
#	src/rhi/rt64_render_interface_types.h
#	src/vulkan/rt64_vulkan.cpp
2024-05-26 18:31:15 +02:00
David Chavez
48e2adeebf
Fix CI config (#32) 2024-05-25 20:44:27 +02:00
David Chavez
7e9e8a6698
Add macos CI flow (#15) 2024-05-16 13:50:54 +02:00
dcvz
3a7a317111 Squashed commit of the following:
commit 2b3f759468
Author: Isaac Marovitz <42140194+IsaacMarovitz@users.noreply.github.com>
Date:   Wed May 15 22:37:35 2024 -0400

    FIx main branch name in CI (#14)

commit 9d2f11e515
Author: Dario <dariosamo@gmail.com>
Date:   Wed May 15 00:07:52 2024 -0300

    Fix edge case of blender passthrough for second cycle not picking the correct input color.

commit 6ba9d9dd0b
Author: Dario <dariosamo@gmail.com>
Date:   Wed May 15 00:08:19 2024 -0300

    Fix behavior with depth targets not being guaranteed to be at the right size if modified by framebuffer operations.

commit 21cfeae50c
Author: David Chavez <david@dcvz.io>
Date:   Wed May 15 02:35:45 2024 +0200

    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-16 11:24:36 +02:00
Isaac Marovitz
2b3f759468
FIx main branch name in CI (#14) 2024-05-15 23:37:35 -03:00
David Chavez
ecdd609c49
Fix CI Workflow (#5)
* Add gtk-3

* Make dxc executable

* Point to latest dxc-bin

* Remove unnecessary chmod
2024-05-12 00:30:16 -03:00
Darío
cbab135a31 Initial commit. 2024-04-14 16:43:05 -03:00