Luca Barbieri
bfaa2577c6
nvfx: support clip planes sensibly and fix them on nv30
...
Before, we were discarding the compiled vertex program on each
vertex program change.
Now we compile the program as if there were 6 clip planes and
dynamically patch in an "end program" bit at the right place.
Also, nv30 should now work.
2010-08-23 15:09:22 +02:00
Michal Krol
ddc42b6380
util: Fix util_dynarray_trim().
2010-04-13 09:00:39 +01:00
Luca Barbieri
bf7e0e839f
gallium/auxiliary: make util_dynarray_trim do nothing if size == capacity
2010-04-13 08:26:00 +02:00
Luca Barbieri
6c31dd1198
gallium/auxiliary: add util_dynarray_resize
2010-04-13 08:25:39 +02:00
Luca Barbieri
c572619817
gallium/auxiliary: fix util_dynarray_trim to 0 to free the data
...
This works better and preserves the
data != 0 if and only if capacity != 0 invariant.
2010-04-13 08:18:59 +02:00
Luca Barbieri
5f968a64dc
util: implement Jose Fonseca's suggestions for u_buffer.h -> u_dynarray.h
...
Also describe invariants explicitly and use char* for arithmetic.
2010-04-13 06:10:31 +02:00