Skip to content

Commit

Permalink
Merge pull request #1 from bigmat18/main
Browse files Browse the repository at this point in the history
[render] set glsl compute profile to 400
  • Loading branch information
alemuntoni authored Nov 14, 2024
2 parents b732f32 + 54f3874 commit 003ccff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vclib/render/3rdparty/cmake/bgfx_config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ include(${VCLIB_BGFX_CMAKE_DIR}/bgfxToolUtils.cmake)

function(_set_bgfx_profiles)
set(GLSL_PROFILE 140 PARENT_SCOPE)
set(GLSL_COMPUTE_PROFILE 300 PARENT_SCOPE)
set(GLSL_COMPUTE_PROFILE 400 PARENT_SCOPE)
set(ESSL_PROFILE 320_es PARENT_SCOPE)
set(SPIRV_PROFILE spirv PARENT_SCOPE)
set(DX_PROFILE s_5_0 PARENT_SCOPE)
Expand Down Expand Up @@ -214,6 +214,7 @@ function(_add_bgfx_shader FILE DIR TARGET)

# glsl
set(GLSL_OUTPUT ${BGFX_SHADERS_OUTPUT_DIR}/glsl/${DIR}/${FILENAME}.bin)

if(NOT "${TYPE}" STREQUAL "COMPUTE")
_bgfx_shaderc_parse(
GLSL ${COMMON}
Expand Down

0 comments on commit 003ccff

Please sign in to comment.