Skip to content

Commit

Permalink
step by step
Browse files Browse the repository at this point in the history
  • Loading branch information
mmp committed Nov 25, 2024
1 parent 0a866f8 commit dc5f541
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci-gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
- name: Configure
run: |
cd build
cmake .. -DPBRT_USE_PREGENERATED_RGB_TO_SPECTRUM_TABLES=True -DPBRT_OPTIX7_PATH=../optix/${{ matrix.optix }} -DPBRT_GPU_SHADER_MODEL=sm_80
cmake .. -DCMAKE_TOOLCHAIN_FILE="$env:VCPKG_INSTALLATION_ROOT"/scripts/buildsystems/vcpkg.cmake -DPBRT_USE_PREGENERATED_RGB_TO_SPECTRUM_TABLES=True -DPBRT_OPTIX7_PATH=../optix/${{ matrix.optix }} -DPBRT_GPU_SHADER_MODEL=sm_80
- name: Build
# We need to limit the number of jobs so that it doesn't OOM
Expand Down
5 changes: 5 additions & 0 deletions src/pbrt/textures.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@

#include <Ptexture.h>

// Windows strikes again.
#ifdef RGB
#undef RGB
#endif

namespace pbrt {

std::string TextureEvalContext::ToString() const {
Expand Down

0 comments on commit dc5f541

Please sign in to comment.