Skip to content

Commit

Permalink
SGS format support for compute-shaders
Browse files Browse the repository at this point in the history
  • Loading branch information
septag committed Sep 22, 2019
1 parent a82b8b3 commit 9d3635a
Show file tree
Hide file tree
Showing 4 changed files with 465 additions and 393 deletions.
2 changes: 1 addition & 1 deletion cmake/glslcc.cmake
Expand Up @@ -214,7 +214,7 @@ function(glslcc__target_compile_shaders target_name file_type source_files)
elseif (${file_ext} STREQUAL ".frag")
set(args ${args} --frag=${source_file})
elseif (${file_ext} STREQUAL ".comp")
set(args ${args} --comp=${source_file})
set(args ${args} --compute=${source_file})
else()
message(FATAL_ERROR "Unknown shader file extension: ${source_file}")
endif()
Expand Down

0 comments on commit 9d3635a

Please sign in to comment.