Skip to contentSkip to conversation

Where did the nv50 texture unit setup come from?

DISCUSSION Maarten Maathuis 2 participants 3 messages Mar 9, 2009 – Mar 10, 2009 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

I'm especially interested in the original data that was used to derive the constant buffer arguments.

I'm looking for the texture unit switch for tiling format, and i'm hoping the original data will easily reveal it.

Maarten.

A message that is not in the archive (sent off-list or not yet received): 6d4bc9fc0903091110u786f859dt11a8ce995917586c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#2 lore raw
Quoted 2 lines · Maarten Maathuis

I'm especially interested in the original data that was used to derive the constant buffer arguments.

renouveau.. turn on dumping of all mappings and you'll see them magically appear.

Quoted 3 lines

I'm looking for the texture unit switch for tiling format, and i'm hoping the original data will easily reveal it.

It's in dword 3 of TCB IIRC, don't have the specifics with me at the moment. I just zeroed the field to match what we currently do with the tile stride methods.

Ben.

Quoted 6 lines

Maarten.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): 1236674891.3526.3.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/[email protected]

#4 lore raw

You were right about the 3rd dword.

For posterity:

tileheight:

4 -> 0xd0005000
8 -> 0xd0405000
16 -> 0xd0805000
32 -> 0xd0c05000
64 -> 0xd1005000