[D3D12] DXBC: Most of tfetch

This commit is contained in:
Triang3l
2018-09-11 22:49:46 +03:00
parent d67b6f7a3e
commit 2a98d29eda
8 changed files with 473 additions and 108 deletions

View File

@@ -45,7 +45,7 @@ void D3D12Shader::SetTexturesAndSamplers(
}
sampler_bindings_.clear();
sampler_bindings_.reserve(sampler_binding_count);
for (uint32_t i = 0; i < texture_srv_count; ++i) {
for (uint32_t i = 0; i < sampler_binding_count; ++i) {
SamplerBinding sampler;
const DxbcShaderTranslator::SamplerBinding& translator_sampler =
sampler_bindings[i];