Standardizing Shader Buffers a bit more
This commit is contained in:
11
src/dawndefs/CMakeLists.txt
Normal file
11
src/dawndefs/CMakeLists.txt
Normal file
@ -0,0 +1,11 @@
|
||||
# Copyright (c) 2023 Dominic Masters
|
||||
#
|
||||
# This software is released under the MIT License.
|
||||
# https://opensource.org/licenses/MIT
|
||||
|
||||
if(DAWN_TARGET_WIN32 AND DAWN_TARGET_GLFW)
|
||||
add_subdirectory(opengl-win32)
|
||||
endif()
|
||||
|
||||
if(DAWN_TARGET_OSX AND DAWN_TARGET_GLFW)
|
||||
endif()
|
9
src/dawndefs/opengl-osx/CMakeLists.txt
Normal file
9
src/dawndefs/opengl-osx/CMakeLists.txt
Normal file
@ -0,0 +1,9 @@
|
||||
# Copyright (c) 2023 Dominic Masters
|
||||
#
|
||||
# This software is released under the MIT License.
|
||||
# https://opensource.org/licenses/MIT
|
||||
|
||||
target_compile_definitions(${DAWN_TARGET_NAME}
|
||||
PUBLIC
|
||||
DAWN_OPENGL_SHADER_BUFFER_INTEGER_PADDING=3
|
||||
)
|
9
src/dawndefs/opengl-win32/CMakeLists.txt
Normal file
9
src/dawndefs/opengl-win32/CMakeLists.txt
Normal file
@ -0,0 +1,9 @@
|
||||
# Copyright (c) 2023 Dominic Masters
|
||||
#
|
||||
# This software is released under the MIT License.
|
||||
# https://opensource.org/licenses/MIT
|
||||
|
||||
target_compile_definitions(${DAWN_TARGET_NAME}
|
||||
PUBLIC
|
||||
DAWN_OPENGL_SHADER_BUFFER_INTEGER_PADDING=3
|
||||
)
|
Reference in New Issue
Block a user