i965: Silence unused variable warning
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 4 May 2016 07:46:31 +0000 (00:46 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 4 May 2016 07:46:31 +0000 (00:46 -0700)
I added this when deleting some unnecessary code in a rebase.

src/mesa/drivers/dri/i965/brw_fs.cpp

index 18760dd30b1960d8f6e99574c520bce2aa864d79..ce3e00b484aa8163e5169a1311579289b9863520 100644 (file)
@@ -1762,8 +1762,6 @@ fs_visitor::assign_tcs_single_patch_urb_setup()
 {
    assert(stage == MESA_SHADER_TESS_CTRL);
 
-   brw_vue_prog_data *vue_prog_data = (brw_vue_prog_data *) prog_data;
-
    /* Rewrite all ATTR file references to HW_REGs. */
    foreach_block_and_inst(block, fs_inst, inst, cfg) {
       convert_attr_sources_to_hw_regs(inst);