Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 24 Apr 2012
Offline Last Active Apr 29 2016 09:20 PM

Posts I've Made

In Topic: Depth Problem In Release Mode

22 April 2016 - 10:34 PM

@baldurk: Unfortunately, I have the same problem even if I reduce the image size to 2.5 MB in the project that I'm working on, although my entire project itself never exceed more than 250 MB of RAM during loading if I'm not using RenderDoc, it reaches 1.5 GB and then crash if I'm using RenderDoc.


@bioglaze: Thanks!

In Topic: Depth Problem In Release Mode

22 April 2016 - 05:11 AM

@baldurk: It seems that I only get this problem if I do many calls to D3DX11CreateShaderResourceViewFromFile() to load a large image file (13,125 KB jpg)


I created a demo project which has the same problem.


Since the attached files are limited to 8.48MB, I uploaded the project here:




In Topic: Depth Problem In Release Mode

22 April 2016 - 12:46 AM

Okay, all the comments were helpful here.


With RenderDoc, I found a warning that the depth stencil buffer size is not the same as the render target view size, so I had to create a depth stencil view for each render target view based on it's size.


I also found that I have uninitialized variable m_depthEnabled


@Hodgman: I'm still trying to get RenderDoc to work, it's still crashing, please check out my above comment


@Krypt0n: Number 8 failed hence number 7 failed as well :D

In Topic: Frame Independent Problem

22 April 2016 - 12:43 AM

Any update?

In Topic: Depth Problem In Release Mode

21 April 2016 - 02:48 PM

@Hodgman: When I start it with RenderDoc, the game crash after few seconds (during loading), when I attach VS debugger, I see it's crashing during a call to D3DX11CreateShaderResourceViewFromFile()


Unhandled exception at 0x0fa813e0 (renderdoc.dll) in Program.exe: 0xC0000005: Access violation writing location 0x00000000.


It's only crashing when I run the program from RenderDoc.