Tilman Sauerbeck wrote:
> Rune Petersen [2006-06-17 23:38]:
> 
>> I'm having problems with the ARL instruction.
>> It appears to mostly return 0.
> 
> Yes. It would probably help if you could document in which cases it
> works reliably and in which cases it doesn't :)

Something very strange is going on with ARL:

I have an array with all non-zero values.

I do an ARL on any given value within the array.


I read the array myArray[addr.x] and I allways get the value at index 0.

if I add an offset myArray[addr.x + <offset>] where addr.x + <offset> > 
"array size" provided addr.x is the correct value, I get 0.

Looks to me like there is a bounds check on arrays that work correctly, 
but the actual array lookup is broken.

Is this at all possible?


Rune Petersen


--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to