diff options
author | Chia-I Wu <[email protected]> | 2015-01-28 00:20:09 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2015-02-12 07:56:11 +0800 |
commit | 49306afe7bc5333df710dc071419111ed4d4a6fb (patch) | |
tree | 006564b0b0d7e16ed0c4afbac151aa7de8987060 /src | |
parent | d43ae05d76b1f14b713b70a84e87e443ab20979e (diff) |
ilo: update 3DSTATE_URB_x for Gen8
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_builder_3d_top.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/ilo_builder_3d_top.h b/src/gallium/drivers/ilo/ilo_builder_3d_top.h index 7a21370aebf..9102504f2c1 100644 --- a/src/gallium/drivers/ilo/ilo_builder_3d_top.h +++ b/src/gallium/drivers/ilo/ilo_builder_3d_top.h @@ -198,7 +198,7 @@ gen7_3dstate_urb(struct ilo_builder *builder, int alloc_size, num_entries, min_entries, max_entries; uint32_t *dw; - ILO_DEV_ASSERT(builder->dev, 7, 7.5); + ILO_DEV_ASSERT(builder->dev, 7, 8); /* VS, HS, DS, and GS variants */ assert(subop >= GEN7_RENDER_OPCODE_3DSTATE_URB_VS && @@ -229,6 +229,10 @@ gen7_3dstate_urb(struct ilo_builder *builder, switch (subop) { case GEN7_RENDER_OPCODE_3DSTATE_URB_VS: switch (ilo_dev_gen(builder->dev)) { + case ILO_GEN(8): + max_entries = 2560; + min_entries = 64; + break; case ILO_GEN(7.5): max_entries = (builder->dev->gt >= 2) ? 1664 : 640; min_entries = (builder->dev->gt >= 2) ? 64 : 32; @@ -255,6 +259,9 @@ gen7_3dstate_urb(struct ilo_builder *builder, break; case GEN7_RENDER_OPCODE_3DSTATE_URB_GS: switch (ilo_dev_gen(builder->dev)) { + case ILO_GEN(8): + max_entries = 960; + break; case ILO_GEN(7.5): max_entries = (builder->dev->gt >= 2) ? 640 : 256; break; |