texture_rect run ok!
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user