View Full Version : DX10 render target size limit
rouncer
03-06-2009, 05:35 AM
Is there a size limit for a render target, im trying to create a 4096x4096 render target, it seems to be creating but its failing when i set as the target.
does the debug spew give you any info?
What HRESULT does it return?
rouncer
03-06-2009, 05:43 AM
I havent got debug set up for dx10, i dont know how.
It has a void return value->"device->OMSetRenderTargets(1,&rtdef,ods);"
Does anyone just know? I dont think im running out of ram.
When you create the device use this as one of your creation flags for debug output.
D3D10_CREATE_DEVICE_DEBUG.
You can then QI the ID3D10Debug interface for extra debugging options from the device interface.
rouncer
03-06-2009, 08:10 AM
I figured it out, yeh as you probably knew your allowed render targets that size, it was the depth buffer not being big enough for it.
thankyou.
I figured it out, yeh as you probably knew your allowed render targets that size, it was the depth buffer not being big enough for it.
thankyou.
ahh lol!
I made that mistake under DX9 myself! :D
vBulletin, Copyright ©2000-2010, Jelsoft Enterprises Ltd.