diff options
author | Jason Ekstrand <[email protected]> | 2016-08-22 16:39:05 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-09-03 08:23:07 -0700 |
commit | 6448c0e324084ce0322d9327d6ec2d9e383d0db8 (patch) | |
tree | f66c673f770a7b183b4a64586667955c34787ccc /src/intel/vulkan/anv_private.h | |
parent | 49981891f7fc8e9ca3e8be68cae29eb0020f5fd7 (diff) |
anv: Leverage the shared L3$ config code
When Jordan first implement L3$ configuration for Vulkan, he copied+pasted
from the GL driver because we had no good place to share it. Now that we
have src/intel/common, we should be sharing these tables.
Signed-off-by: Jason Ekstrand <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r-- | src/intel/vulkan/anv_private.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index 7cab99e952b..5486d92ac71 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -52,7 +52,7 @@ typedef struct xcb_connection_t xcb_connection_t; typedef uint32_t xcb_visualid_t; typedef uint32_t xcb_window_t; -struct anv_l3_config; +struct gen_l3_config; #include <vulkan/vulkan.h> #include <vulkan/vulkan_intel.h> @@ -1224,7 +1224,7 @@ struct anv_attachment_state { struct anv_cmd_state { /* PIPELINE_SELECT.PipelineSelection */ uint32_t current_pipeline; - const struct anv_l3_config * current_l3_config; + const struct gen_l3_config * current_l3_config; uint32_t vb_dirty; anv_cmd_dirty_mask_t dirty; anv_cmd_dirty_mask_t compute_dirty; @@ -1524,7 +1524,7 @@ struct anv_pipeline { uint32_t start[MESA_SHADER_GEOMETRY + 1]; uint32_t size[MESA_SHADER_GEOMETRY + 1]; uint32_t entries[MESA_SHADER_GEOMETRY + 1]; - const struct anv_l3_config * l3_config; + const struct gen_l3_config * l3_config; uint32_t total_size; } urb; |