anv/pipeline: Bump the size of the pipeline batch to accomodate GS
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 23 Oct 2015 23:50:28 +0000 (16:50 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 23 Oct 2015 23:50:31 +0000 (16:50 -0700)
The 1k batch size wasn't big enough for a full pipeline setup including
geometry shaders.  Some day we should make it dynamic.

src/vulkan/anv_private.h

index c1a7b01e8b0d75ca59dc331dfea184da6b8fcf16..ac3d18fdcbeeec4e429fb2b1e1f05ec2fcfb471b 100644 (file)
@@ -1083,7 +1083,7 @@ struct anv_shader {
 struct anv_pipeline {
    struct anv_device *                          device;
    struct anv_batch                             batch;
-   uint32_t                                     batch_data[256];
+   uint32_t                                     batch_data[512];
    struct anv_reloc_list                        batch_relocs;
    uint32_t                                     dynamic_state_mask;
    struct anv_dynamic_state                     dynamic_state;