intel/compiler/fs: Pass fs_inst to generate_ddx/ddy instead of opcode
authorMatt Turner <mattst88@gmail.com>
Thu, 15 Jun 2017 22:41:40 +0000 (15:41 -0700)
committerMatt Turner <mattst88@gmail.com>
Wed, 28 Feb 2018 19:15:47 +0000 (11:15 -0800)
commitbed0267ff64d923feff01ab9144a8f8283700d63
tree4747914f68a25958c699b4824c4972f0ef456569
parent3a584a15c0b1dd6c31a6520a0f749306f48d5782
intel/compiler/fs: Pass fs_inst to generate_ddx/ddy instead of opcode

In a future patch, generate_ddy will want to inspect inst->exec_size.
Change generate_ddx as well for consistency.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/compiler/brw_fs.h
src/intel/compiler/brw_fs_generator.cpp