Cleanup: indentation for CMake files, strip trailing space
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -17,7 +17,7 @@ set(INC_GLSL
|
||||
../../../../gpu/shaders
|
||||
../../../../gpu/shaders/common
|
||||
../../../../gpu/shaders/infos
|
||||
|
||||
|
||||
../../gpencil
|
||||
../../gpencil/shaders/infos
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -34,6 +34,6 @@ if(WITH_USD)
|
||||
add_subdirectory(usd)
|
||||
endif()
|
||||
|
||||
if (WITH_IO_CSV)
|
||||
if(WITH_IO_CSV)
|
||||
add_subdirectory(csv)
|
||||
endif()
|
||||
|
||||
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user