anv: Remove base_vertex/instance from push_constants
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 28 Sep 2017 00:01:27 +0000 (17:01 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 3 Oct 2017 20:41:00 +0000 (13:41 -0700)
This is just legacy cruft.  We don't push these values; we pass them in
as vertex attributes.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_private.h

index 3ba623a37fdabb15194d68c5209fde285a482f8e..b58c803530ccd36666f460088f14032e9899a530 100644 (file)
@@ -1560,13 +1560,6 @@ struct anv_push_constants {
    /* Push constant data provided by the client through vkPushConstants */
    uint8_t client_data[MAX_PUSH_CONSTANTS_SIZE];
 
-   /* Our hardware only provides zero-based vertex and instance id so, in
-    * order to satisfy the vulkan requirements, we may have to push one or
-    * both of these into the shader.
-    */
-   uint32_t base_vertex;
-   uint32_t base_instance;
-
    /* Image data for image_load_store on pre-SKL */
    struct brw_image_param images[MAX_IMAGES];
 };