anv: Fix warning: unused variable ‘cs_prog_data’
authorJordan Justen <jordan.l.justen@intel.com>
Tue, 17 May 2016 21:06:39 +0000 (14:06 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Tue, 17 May 2016 21:09:56 +0000 (14:09 -0700)
This was introduced in 8a80af282091e692da7bf4e412918ba2362dfb4f.

Reported-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
src/intel/vulkan/gen7_cmd_buffer.c
src/intel/vulkan/gen8_cmd_buffer.c

index 4c4f90249ce7f1ae7f1085a857126afe7c38487c..7b55133fedea12b961d498d207091972f75f6b3d 100644 (file)
@@ -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);
index 693d2a603ffb34facf02ab976ab01c09f4d734a5..065cf9e76384cc49b5cebd67e1b4ebdb32faaef1 100644 (file)
@@ -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);