Skip to content

Commit

Permalink
v1.90:
Browse files Browse the repository at this point in the history
- NRI: added C-compatible interface (macro magic based)
- NRI: dropped "static samplers" as a counter intuitive entity due to implementation in VK
- NRI: added "registerSpace" into "DescriptorSetDesc"
- NRI: added OMM support (WIP)
- NRI: fixed compilation issues with W4
- VK: expand VK wrapper with methods to receive proc addresses
- VK: fixed forgotten conservative raster enablement
- VK: removed unnecessary EXT postfix
- VK: added support for partially bound descriptors within descriptor set
- VK: fixed "free" after potential "return"
- VK: added support for sets starting not from "space = 0" in pipeline layout
- API: removed "noop" const
- API: renamed "baseSlot/setIndex" => "setIndexInPipelineLayout" to clarify what it is
- API: changed "CmdSetDescriptorSets" => "CmdSetDescriptorSet"
- API: fixed TextureTransition* helper funcs (WIP?)
- API: removed unused "DisplayDesc"
- API: removed NRIDescs.hpp file, functionality moved to NRIHelper.h (now C compatible)
- API: dropped bit fields (except "GeometryObjectInstance")
- API: added missing (or changed to minimal possible) "type" to "enum class"
- API: getting rid of Color<>
- README: added brief samples description
- simplified and improved scripts
- rewritten Cmake
- refactoring
  • Loading branch information
dzhdanNV committed Dec 20, 2022
1 parent 2517986 commit f4f97ca
Show file tree
Hide file tree
Showing 85 changed files with 3,527 additions and 3,409 deletions.
2 changes: 0 additions & 2 deletions 1-Deploy.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,3 @@ mkdir "_Compiler"
cd "_Compiler"
cmake .. -A x64
cd ..

pause
2 changes: 1 addition & 1 deletion 1-Deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ chmod +x "4-Clean.sh"
mkdir -p "_Compiler"

cd "_Compiler"
cmake ..
cmake .. -A x64
cd ..
18 changes: 0 additions & 18 deletions 2-Build.bat
Original file line number Diff line number Diff line change
@@ -1,24 +1,6 @@
@echo off

mkdir "_Compiler"

cd "_Compiler"
del CMakeCache.txt
cmake -DCMAKE_BUILD_TYPE=Release .. -A x64
cmake --build . --config Release
cd ..

echo.
set /P M=Do you want to build DEBUG configuration? [y/n]
if /I "%M%" neq "y" goto END

:BUILD_DEBUG

cd "_Compiler"
del CMakeCache.txt
cmake -DCMAKE_BUILD_TYPE=Debug .. -A x64
cmake --build . --config Debug
cd ..

:END
pause
17 changes: 3 additions & 14 deletions 2-Build.sh
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
#!/bin/bash
#!/bin/sh

mkdir -p "_Compiler"

cd "_Compiler"
rm CMakeCache.txt
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake ..
cmake --build . --config Release
cmake --build . --config Debug
cd ..

read -p "Do you want to compile DEBUG configuration? [y/n]" -n 1 -r
echo
if [[ $REPLY =~ ^[Yy]$ ]]
then
cd "_Compiler"
rm CMakeCache.txt
cmake -DCMAKE_BUILD_TYPE=Debug ..
cmake --build . --config Debug
cd ..
fi
19 changes: 6 additions & 13 deletions 4-Clean.bat
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
@echo off

set /P M=Do you want to delete PACKMAN repository? [y/n]
if /I "%M%" neq "y" goto KEEP_PACKMAN
if exist "build" rd /q /s "build"

:DELETE_PACKMAN
rd /q /s "%PM_PACKAGES_ROOT%"

:KEEP_PACKMAN
rd /q /s "_Build"
rd /q /s "_Compiler"
rd /q /s "_NRI_SDK"
rd /q /s "External/AGS"
rd /q /s "External/NVAPI"

rd /q /s "build"
if exist "_Build" rd /q /s "_Build"
if exist "_Compiler" rd /q /s "_Compiler"
if exist "_NRI_SDK" rd /q /s "_NRI_SDK"
if exist "External/AGS" rd /q /s "External/AGS"
if exist "External/NVAPI" rd /q /s "External/NVAPI"
4 changes: 2 additions & 2 deletions 4-Clean.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/sh

rm -rf "build"

rm -rf "_Build"
rm -rf "_Compiler"
rm -rf "_NRI_SDK"
rm -rf "External/AGS"
rm -rf "External/NVAPI"

rm -rf "build"
Loading

0 comments on commit f4f97ca

Please sign in to comment.