Cleanup: indentation for CMake files, strip trailing space

This commit is contained in:
Campbell Barton
2025-04-02 03:01:59 +00:00
parent 144b1a7d56
commit f89cf19ba6
5 changed files with 10 additions and 10 deletions

View File

@@ -647,13 +647,13 @@ endif()
# Issue #136138
function(get_hip_math_flag arch math_flag)
if(WIN32 AND (${arch} MATCHES "gfx1030|gfx1031|gfx1032|gfx1033|gfx1034|gfx1035|gfx1036"))
set(result
-fhip-fp32-correctly-rounded-divide-sqrt
-fno-gpu-approx-transcendentals
-fgpu-flush-denormals-to-zero
-ffp-contract=off)
set(result
-fhip-fp32-correctly-rounded-divide-sqrt
-fno-gpu-approx-transcendentals
-fgpu-flush-denormals-to-zero
-ffp-contract=off)
else()
set(result "")
set(result "")
endif()
set(${math_flag} "${result}" PARENT_SCOPE)
endfunction()

View File

@@ -17,7 +17,7 @@ set(INC_GLSL
../../../../gpu/shaders
../../../../gpu/shaders/common
../../../../gpu/shaders/infos
../../gpencil
../../gpencil/shaders/infos

View File

@@ -30,7 +30,7 @@ set(SRC_GLSL_COMP
# draw_resource_finalize_comp.glsl
draw_view_finalize_comp.glsl
draw_visibility_comp.glsl
subdiv_ibo_lines_comp.glsl
subdiv_ibo_tris_comp.glsl
subdiv_vbo_edge_fac_comp.glsl

View File

@@ -34,6 +34,6 @@ if(WITH_USD)
add_subdirectory(usd)
endif()
if (WITH_IO_CSV)
if(WITH_IO_CSV)
add_subdirectory(csv)
endif()

View File

@@ -823,7 +823,7 @@ if(WITH_CYCLES OR WITH_GPU_RENDER_TESTS)
)
endif()
endif()
if(WITH_HYDRA)
# Hydra Storm
foreach(render_test ${gpu_render_tests})