message: Automatically setting D3D11_BIND_SHADER_RESOURCE  & D3D11_BIND_RENDER_TARGET flags when D3D11_RESOURCE_MISC_GENERATE_MIPS is set in D3D11 back-end
diff: @@ -41,6 +41,9 @@ Texture2D_D3D11 :: Texture2D_D3D11(IReferenceCounters* pRefCounters,
  auto D3D11CPUAccessFlags = CPUAccessFlagsToD3D11CPUAccessFlags(m_Desc.CPUAccessFlags);
  auto D3D11Usage = UsageToD3D11Usage(m_Desc.Usage);
  UINT MiscFlags = MiscTextureFlagsToD3D11Flags(m_Desc.MiscFlags);
  + if (MiscFlags & D3D11_RESOURCE_MISC_GENERATE_MIPS)
  + D3D11BindFlags |= D3D11_BIND_SHADER_RESOURCE | D3D11_BIND_RENDER_TARGET;
  +
  if(m_Desc.Type == RESOURCE_DIM_TEX_CUBE || m_Desc.Type == RESOURCE_DIM_TEX_CUBE_ARRAY)
  MiscFlags |= D3D11_RESOURCE_MISC_TEXTURECUBE;
  DXGI_SAMPLE_DESC D3D11SampleDesc = {m_Desc.SampleCount, 0};
  