Path: chuka.playstation.co.uk!news From: Alex Herbert Newsgroups: scee.yaroze.beginners Subject: Re: GpuPacketArea query. Date: Wed, 13 May 1998 00:47:17 +0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 34 Message-ID: <3558DF85.7C89DA42@ndirect.co.uk> References: <35557807.6E248247@chowfam.demon.co.uk> Reply-To: aherbert@ndirect.co.uk NNTP-Posting-Host: dialin0-14.ndirect.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.04 [en] (Win95; I) To: James Chow James Chow wrote: > Can anyone tell me why declaring (and using) > > PACKET GpuPktArea[2][x], where x = 2^n-1 > > does not work? (u^v = pow(u,v)) > (n is any number) > > I understand that if x is too small then the > GPU will not have enough space to carry out > its tasks. That means if we set it to be a > large value, then everything should be OK. > However, this does not seem to be the case. > > With x = 32767, it locked up just trying to > draw a line. > > Anyone? > -- > jc You say: x = 2^n-1. Shouldn't that be: x = 2^n? Also, upper limit for n is 14, so the max value for x is 16384. Hope that sorts it for ya. Herbs