anv: Emit 3DSTATE_PUSH_CONSTANT_ALLOC_* via a loop.

Now we're emitting HS and DS packets as well.
This commit is contained in:
Kenneth Graunke
2016-02-22 15:46:23 -08:00
parent 1024a66fc4
commit 7f9b03cc8b
3 changed files with 15 additions and 9 deletions

View File

@@ -1410,6 +1410,7 @@ struct anv_pipeline {
uint32_t scratch_start[MESA_SHADER_STAGES];
uint32_t total_scratch;
struct {
uint8_t push_size[MESA_SHADER_FRAGMENT + 1];
uint32_t start[MESA_SHADER_GEOMETRY + 1];
uint32_t size[MESA_SHADER_GEOMETRY + 1];
uint32_t entries[MESA_SHADER_GEOMETRY + 1];