Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 03 Nov 2009
Offline Last Active Feb 25 2014 04:31 AM

#5067274 Models are missing half their triangles.

Posted by on 03 June 2013 - 11:41 PM

did you try D3DPT_TRIANGLESTRIP instead of D3DPT_TRIANGLEFAN ???

#5067069 Resource Sharing between Directx11 and DirectX9

Posted by on 03 June 2013 - 06:07 AM

@Jason Z and NightCreature83


actually i have engine in dx9 ,but wanted to process some raw data in gpu and give output to a texture.so i choose compute shader of dx11 and I dont want to change existing source which is written in dx9.


however I figured  out the problem as D3DFMT_A8R8G8B8 will match to DXGI_FORMAT_B8G8R8A8_UNORM.however you cant then create UAV from that format.You have to create texture with DXGI_FORMAT_B8G8R8A8_TYPELESS.then create UAV with castable format like  DXGI_FORMAT_R32_UINT and then do your work on shader.