Standardizing Shader Buffers a bit more

This commit is contained in:
2023-07-23 22:28:50 -07:00
parent 682cfcac78
commit 3bbb5ca030
12 changed files with 96 additions and 33 deletions

View 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()

View 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
)

View 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
)