OSDN Git Service

freedreno: allocate batches from the cache in launch_grid
authorHyunjun Ko <zzoon@igalia.com>
Wed, 17 Oct 2018 12:57:28 +0000 (21:57 +0900)
committerRob Clark <robdclark@gmail.com>
Wed, 17 Oct 2018 16:44:48 +0000 (12:44 -0400)
commit8e798e28f736e22e9e1e4534ab42a36cde14b142
tree61c96a2762a9e319262bbc594ef6f9055ef81b43
parent2385d7b06683e00984f05d32cd2b9e940fefd5af
freedreno: allocate batches from the cache in launch_grid

Needs to allocate batches from the cache so that it could
get a valid index and make resource dependancy tracking right.

In addition this fixes assertion on debug build since the commit
1a40faa8 landed.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/freedreno_draw.c