[Mesa-dev] [PATCH V3 09/13] i965: implement indirect drawing for Gen7
Kenneth Graunke
kenneth at whitecape.org
Tue Nov 12 12:36:42 PST 2013
On 11/09/2013 01:02 AM, Chris Forbes wrote:
> Just prior to emitting the 3DPRIMITIVE command, we load each of the
> indirect registers. The values loaded are either from offsets into the
> current indirect BO, or constant zero if the parameter is not used for
> this draw.
>
> Enabling use of the indirect registers is done by turning on a bit in
> the first dword of the 3DPRIMITIVE command itself.
>
> V3: - Deduplicate the common part of both indexed and nonindexed indirect
> setup.
> - Just refer to the indirect bo out of the context directly.
>
> Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>
Patches 8-11 are:
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
More information about the mesa-dev
mailing list