git.s-ol.nu ~forks/DiligentFX / 730681c
Renamed USAGE_STATIC to USAGE_IMMUTABLE (API240077) assiduous 1 year, 3 days ago
2 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
8181 TextureDesc TexDesc;
8282 TexDesc.Name = "White texture for GLTF renderer";
8383 TexDesc.Type = RESOURCE_DIM_TEX_2D;
84 TexDesc.Usage = USAGE_STATIC;
84 TexDesc.Usage = USAGE_IMMUTABLE;
8585 TexDesc.BindFlags = BIND_SHADER_RESOURCE;
8686 TexDesc.Width = TexDim;
8787 TexDesc.Height = TexDim;
455455 RandomSphereSamplingTexDesc.Height = 1;
456456 RandomSphereSamplingTexDesc.MipLevels = 1;
457457 RandomSphereSamplingTexDesc.Format = TEX_FORMAT_RGBA32_FLOAT;
458 RandomSphereSamplingTexDesc.Usage = USAGE_STATIC;
458 RandomSphereSamplingTexDesc.Usage = USAGE_IMMUTABLE;
459459 RandomSphereSamplingTexDesc.BindFlags = BIND_SHADER_RESOURCE;
460460
461461 std::vector<float4> SphereSampling(m_uiNumRandomSamplesOnSphere);