Change wrong shader inputs
This commit is contained in:
parent
f7de1441a5
commit
a8f3122ed9
2 changed files with 3 additions and 3 deletions
|
@ -25,7 +25,7 @@ GaussianHelper::GaussianHelper(GFX* gfx, const prism::Extent extent) : extent(ex
|
|||
};
|
||||
|
||||
pipelineInfo.shader_input.push_constants = {
|
||||
{4, 0}
|
||||
{sizeof(int), 0}
|
||||
};
|
||||
|
||||
pipelineInfo.render_pass = renderPass;
|
||||
|
|
|
@ -729,11 +729,11 @@ void Renderer::create_mesh_pipeline(Material& material) {
|
|||
pipelineInfo.shader_input.bindings = {
|
||||
{1, GFXBindingType::StorageBuffer},
|
||||
{0, GFXBindingType::PushConstant},
|
||||
{2, GFXBindingType::StorageImage},
|
||||
{2, GFXBindingType::SampledImage},
|
||||
{3, GFXBindingType::SampledImage},
|
||||
{4, GFXBindingType::Sampler},
|
||||
{5, GFXBindingType::Sampler},
|
||||
{6, GFXBindingType::StorageImage},
|
||||
{6, GFXBindingType::SampledImage},
|
||||
{7, GFXBindingType::Texture},
|
||||
{8, GFXBindingType::Texture},
|
||||
{9, GFXBindingType::Texture}
|
||||
|
|
Reference in a new issue