|
@@ -469,9 +469,9 @@ public:
|
469
|
469
|
if (computebindSet)
|
470
|
470
|
{
|
471
|
471
|
computebindSet->SetTexture(0, texture);
|
472
|
|
- computebindSet->SetSamplerState(0, sampler);
|
|
472
|
+ //computebindSet->SetSamplerState(0, sampler);
|
473
|
473
|
computebindSet->SetTexture(1, targettex);
|
474
|
|
- computebindSet->SetSamplerState(1, sampler);
|
|
474
|
+ //computebindSet->SetSamplerState(1, sampler);
|
475
|
475
|
}
|
476
|
476
|
computeEncoder->SetComputePipelineState(Emboss);
|
477
|
477
|
computeEncoder->SetResources(0, computebindSet);
|
|
@@ -498,8 +498,8 @@ public:
|
498
|
498
|
uboBuffer->Flush();
|
499
|
499
|
graphicShaderBindingSet->PostcomputeDescSet()->SetBuffer(0, uboBuffer, 0, sizeof(GraphicShaderBindingSet::UBO));
|
500
|
500
|
|
501
|
|
- graphicShaderBindingSet->PostcomputeDescSet()->SetTexture(0, targettex);
|
502
|
|
- graphicShaderBindingSet->PostcomputeDescSet()->SetSamplerState(0, sampler);
|
|
501
|
+ graphicShaderBindingSet->PostcomputeDescSet()->SetTexture(1, targettex);
|
|
502
|
+ graphicShaderBindingSet->PostcomputeDescSet()->SetSamplerState(1, sampler);
|
503
|
503
|
}
|
504
|
504
|
|
505
|
505
|
encoder->SetRenderPipelineState(pipelineState);
|