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.
DX10 render target size limit
Started by rouncer, Mar 06 2009 01:35 PM
5 replies to this topic
#1
Posted 06 March 2009 - 01:35 PM
#2
Posted 06 March 2009 - 01:38 PM
does the debug spew give you any info?
What HRESULT does it return?
What HRESULT does it return?
#3
Posted 06 March 2009 - 01:43 PM
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.
It has a void return value->"device->OMSetRenderTargets(1,&rtdef,ods);"
Does anyone just know? I dont think im running out of ram.
#4
Posted 06 March 2009 - 01:55 PM
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.
D3D10_CREATE_DEVICE_DEBUG.
You can then QI the ID3D10Debug interface for extra debugging options from the device interface.
#5
Posted 06 March 2009 - 04:10 PM
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.
thankyou.
#6
Posted 06 March 2009 - 04:24 PM
rouncer said:
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.
thankyou.
ahh lol!
I made that mistake under DX9 myself! :D
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












