git.s-ol.nu ~forks/DiligentTools / d36f836
Some updates to match API240076 assiduous 8 months ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
343343 SamLinearWrap.AddressU = TEXTURE_ADDRESS_WRAP;
344344 SamLinearWrap.AddressV = TEXTURE_ADDRESS_WRAP;
345345 SamLinearWrap.AddressW = TEXTURE_ADDRESS_WRAP;
346 StaticSamplerDesc StaticSamplers[] =
346 ImmutableSamplerDesc ImtblSamplers[] =
347347 {
348348 {SHADER_TYPE_PIXEL, "Texture", SamLinearWrap} //
349349 };
350 PSOCreateInfo.PSODesc.ResourceLayout.StaticSamplers = StaticSamplers;
351 PSOCreateInfo.PSODesc.ResourceLayout.NumStaticSamplers = _countof(StaticSamplers);
350 PSOCreateInfo.PSODesc.ResourceLayout.ImmutableSamplers = ImtblSamplers;
351 PSOCreateInfo.PSODesc.ResourceLayout.NumImmutableSamplers = _countof(ImtblSamplers);
352352
353353 m_pDevice->CreateGraphicsPipelineState(PSOCreateInfo, &m_pPSO);
354354