texture_rect run ok!

This commit is contained in:
2023-09-21 22:11:20 +08:00
parent 907cb3c852
commit 4e144072e4
9 changed files with 48 additions and 34 deletions

View File

@@ -1,4 +1,4 @@
#include<hgl/shadergen/ShaderCreateInfoGeometry.h>
#include<hgl/shadergen/ShaderCreateInfoGeometry.h>
namespace hgl
{
@@ -24,5 +24,13 @@ namespace hgl
max_vertices=mv;
return(true);
}
bool ShaderCreateInfoGeometry::ProcLayout()
{
final_shader+="layout("+input_prim+") in;\n"
"layout("+output_prim+", max_vertices = "+AnsiString::numberOf(max_vertices)+") out;\n";
return(true);
}
}//namespace graph
}//namespace hgl