fix a little problem
This commit is contained in:
parent
3f6742f116
commit
8f68b3935d
@ -1 +1 @@
|
||||
Subproject commit 0cb791614f905ecaaa26b251f01b4c9f4ea5e274
|
||||
Subproject commit 36549c10cc5f6af622dcca92a31b13422bb031b9
|
2
CMCore
2
CMCore
@ -1 +1 @@
|
||||
Subproject commit 7927586bd1e36f0e0d7dd6d1e944570bd5121e19
|
||||
Subproject commit 7c69cfff60cceb41760513ea4c5fbf78053012e3
|
@ -5,7 +5,7 @@
|
||||
#include<hgl/filesystem/FileSystem.h>
|
||||
#include<hgl/graph/InlineGeometry.h>
|
||||
#include<hgl/graph/RenderableInstance.h>
|
||||
#include<hgl/graph/VertexBufferData.h>
|
||||
#include<hgl/graph/VertexAttribData.h>
|
||||
|
||||
#include<hgl/graph/data/SceneNodeData.h>
|
||||
|
||||
|
@ -41,7 +41,7 @@ VK_NAMESPACE_BEGIN
|
||||
|
||||
class ShaderResource
|
||||
{
|
||||
const void *data;
|
||||
const uint8 *data;
|
||||
|
||||
VkShaderStageFlagBits stage_flag;
|
||||
|
||||
@ -55,7 +55,7 @@ VK_NAMESPACE_BEGIN
|
||||
|
||||
public:
|
||||
|
||||
ShaderResource(const void *,const VkShaderStageFlagBits &,const void *,const uint32);
|
||||
ShaderResource(const uint8 *,const VkShaderStageFlagBits &,const void *,const uint32);
|
||||
virtual ~ShaderResource();
|
||||
|
||||
const VkShaderStageFlagBits GetStage ()const {return stage_flag;}
|
||||
|
@ -53,7 +53,7 @@ namespace hgl
|
||||
if(out_count>0)
|
||||
{
|
||||
tile_data->BeginCommit();
|
||||
for(uint i=0;i<ch_count;i++)
|
||||
for(int i=0;i<ch_count;i++)
|
||||
{
|
||||
if(!to_res.Get(*cp,to))
|
||||
{
|
||||
@ -80,7 +80,7 @@ namespace hgl
|
||||
}
|
||||
else
|
||||
{
|
||||
for(uint i=0;i<ch_count;i++)
|
||||
for(int i=0;i<ch_count;i++)
|
||||
{
|
||||
to_res.Get(*cp,to);
|
||||
|
||||
@ -100,7 +100,7 @@ namespace hgl
|
||||
{
|
||||
const u32char *cp=ch_list.GetData();
|
||||
|
||||
for(uint i=0;i<ch_list.GetCount();i++)
|
||||
for(int i=0;i<ch_list.GetCount();i++)
|
||||
{
|
||||
to_res.Release(*cp);
|
||||
++cp;
|
||||
|
@ -81,7 +81,7 @@ VK_NAMESPACE_BEGIN
|
||||
}
|
||||
}//namespcae
|
||||
|
||||
ShaderResource::ShaderResource(const void *fd,const VkShaderStageFlagBits &flag,const void *sd,const uint32 size)
|
||||
ShaderResource::ShaderResource(const uint8 *fd,const VkShaderStageFlagBits &flag,const void *sd,const uint32 size)
|
||||
{
|
||||
data=fd;
|
||||
stage_flag=flag;
|
||||
|
Loading…
x
Reference in New Issue
Block a user