Module: Mesa Branch: master Commit: 1ff212bfd3d533f03f91a18a98cca0a2637c6d79 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1ff212bfd3d533f03f91a18a98cca0a2637c6d79
Author: Jordan Justen <jordan.l.jus...@intel.com> Date: Tue May 17 14:06:39 2016 -0700 anv: Fix warning: unused variable ‘cs_prog_data’ This was introduced in 8a80af282091e692da7bf4e412918ba2362dfb4f. Reported-by: Jason Ekstrand <ja...@jlekstrand.net> Signed-off-by: Jordan Justen <jordan.l.jus...@intel.com> --- src/intel/vulkan/gen7_cmd_buffer.c | 1 - src/intel/vulkan/gen8_cmd_buffer.c | 1 - 2 files changed, 2 deletions(-) diff --git a/src/intel/vulkan/gen7_cmd_buffer.c b/src/intel/vulkan/gen7_cmd_buffer.c index 4c4f902..7b55133 100644 --- a/src/intel/vulkan/gen7_cmd_buffer.c +++ b/src/intel/vulkan/gen7_cmd_buffer.c @@ -287,7 +287,6 @@ void genX(cmd_buffer_flush_compute_state)(struct anv_cmd_buffer *cmd_buffer) { struct anv_pipeline *pipeline = cmd_buffer->state.compute_pipeline; - const struct brw_cs_prog_data *cs_prog_data = get_cs_prog_data(pipeline); MAYBE_UNUSED VkResult result; assert(pipeline->active_stages == VK_SHADER_STAGE_COMPUTE_BIT); diff --git a/src/intel/vulkan/gen8_cmd_buffer.c b/src/intel/vulkan/gen8_cmd_buffer.c index 693d2a6..065cf9e 100644 --- a/src/intel/vulkan/gen8_cmd_buffer.c +++ b/src/intel/vulkan/gen8_cmd_buffer.c @@ -372,7 +372,6 @@ void genX(cmd_buffer_flush_compute_state)(struct anv_cmd_buffer *cmd_buffer) { struct anv_pipeline *pipeline = cmd_buffer->state.compute_pipeline; - const struct brw_cs_prog_data *cs_prog_data = get_cs_prog_data(pipeline); MAYBE_UNUSED VkResult result; assert(pipeline->active_stages == VK_SHADER_STAGE_COMPUTE_BIT); _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit