chrisforbes / mesa

chrisf's mesa hacks
2 stars 0 forks source link

tess: If >1 hw instance, allocate and zero 32dw of URB space for semaphores #59

Closed chrisforbes closed 9 years ago

chrisforbes commented 10 years ago

Every draw must zero the semaphore space; we can't assume that a previous shader invocation left it in a good state.

chrisforbes commented 9 years ago

Works

chrisforbes commented 9 years ago

Initial implementation of this is pretty wasteful -- we're allocating an entire 8K URB chunk for this. We should really be tacking it onto someone's existing allocation instead.