Quoting Kenneth Graunke (2017-11-29 00:13:17) > The intention here is make the new BO use the same alignment as the old > BO. This isn't strictly necessary, but we would have to update the > 'alignment' field in the validation list when swapping it out, and we > don't bother today. > > The batch and state buffers use an alignment of 4096, so this should be > equivalent - it's just clearer than cut and pasting a magic constant.
Whilst we are here, we could perhaps acknowledge that the required alignment is only 64. (I'm presuming that the value is given only for documentary purposes, anything less than 4k is ignored.) -Chris _______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
