diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-11-23 17:30:43 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-11-23 18:38:46 +0000 |
commit | 5ebf39f8c384f0b38a32094af56f64b9f787d711 (patch) | |
tree | 4cd0de36c8f156a6a2d75d3df2c215ad5d7e5773 | |
parent | Don't render zero directional light (diff) | |
download | ilt-5ebf39f8c384f0b38a32094af56f64b9f787d711.tar.bz2 ilt-5ebf39f8c384f0b38a32094af56f64b9f787d711.tar.xz ilt-5ebf39f8c384f0b38a32094af56f64b9f787d711.zip |
Add geometry shader support to build system
-rw-r--r-- | Jamroot.jam | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Jamroot.jam b/Jamroot.jam index 949a778..14703eb 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -48,9 +48,11 @@ project : requirements ; type.register GL_VERTEX_SHADER : vs ; +type.register GL_GEOMETRY_SHADER : gs ; type.register GL_FRAGMENT_SHADER : fs ; generators.register-standard embed.glsl : GL_VERTEX_SHADER : CPP(vs-%) H(vs-%) ; +generators.register-standard embed.glsl : GL_GEOMETRY_SHADER : CPP(gs-%) H(gs-%) ; generators.register-standard embed.glsl : GL_FRAGMENT_SHADER : CPP(fs-%) H(fs-%) ; actions embed.glsl @@ -75,7 +77,7 @@ explicit main ; run iliketrains : -- : [ sequence.insertion-sort [ glob-tree-ex res : *.* ] ] : : main ; lib ilt : - [ glob-tree *.cpp *.vs *.fs : application bin test ] + [ glob-tree *.cpp *.?s : application bin test ] [ lib generated : [ glob-tree *.ll *.c ] : <include>. <include>lib |