Skip to content

Commit

Permalink
adding flag to hide warning when bindings overlap
Browse files Browse the repository at this point in the history
  • Loading branch information
natevm committed Dec 28, 2024
1 parent d307f0f commit 80f96d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gprt/cmake/bin2c.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 2.8.12)
cmake_minimum_required (VERSION 3.10)

# Get short filename
string(REGEX MATCH "([^/]+)$" filename ${INPUT_FILE})
Expand Down
1 change: 1 addition & 0 deletions gprt/cmake/embed_devicecode.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ function(embed_devicecode)
-matrix-layout-row-major
-ignore-capabilities
-zero-initialize # zero-initialize all variables
-Wno-39001 # for VK_EXT_mutable_descriptor_type, allows overlapping bindings
-g
-O0
-I ${GPRT_INCLUDE_DIR}
Expand Down

0 comments on commit 80f96d3

Please sign in to comment.