Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,11 @@ IF(GLSLC AND XXD)
FOREACH(shad_spv ${SHADER_OUTPUTS})
GET_FILENAME_COMPONENT(SPV ${shad_spv} NAME)
ADD_CUSTOM_COMMAND (
TARGET BuildShadersHeader
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${SHADER_DIR}
COMMAND ${XXD} -i ${SPV} >> ${SHADERS_H}
)
TARGET BuildShadersHeader
POST_BUILD
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${SHADER_DIR}
COMMAND ${XXD} -i ${SPV} >> ${SHADERS_H}
)
ENDFOREACH()
SET_SOURCE_FILES_PROPERTIES(${SHADERS_H} PROPERTIES GENERATED 1)
#add_definitions( -DDEBUG_VK_PERF=true )
Expand Down
14 changes: 14 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,20 @@ In general, we follow the ["fork-and-pull" Git workflow](https://github.com/susa
6. Push changes to your fork
7. Open a PR in our repository and follow the PR template so that we can efficiently review the changes.

### Testing

To build and run unit tests:
```bash
cd vkvg
mkdir build
cd build
cmake ..
make
./gunit_tests/unit_tests
```

**Note**: Visual regression tests will skip on first run to generate reference images in `ReferenceImages/`. Subsequent runs compare against these baselines.

## Getting Help

Join us on [gitter](https://gitter.im/CSharpRapidOpenWidgets).