int num_annotations, struct annotation *annotation);
void brw_uncompact_instruction(struct brw_context *brw, brw_inst *dst,
brw_compact_inst *src);
-bool brw_try_compact_instruction(struct brw_compile *p, brw_compact_inst *dst,
+bool brw_try_compact_instruction(struct brw_context *brw, brw_compact_inst *dst,
brw_inst *src);
void brw_debug_compact_uncompact(struct brw_context *brw, brw_inst *orig,
* brw_compact_instructions().
*/
bool
-brw_try_compact_instruction(struct brw_compile *p, brw_compact_inst *dst,
+brw_try_compact_instruction(struct brw_context *brw, brw_compact_inst *dst,
brw_inst *src)
{
- struct brw_context *brw = p->brw;
brw_compact_inst temp;
if (brw_inst_opcode(brw, src) == BRW_OPCODE_IF ||
brw_inst saved = *src;
if (!brw_inst_cmpt_control(brw, src) &&
- brw_try_compact_instruction(p, dst, src)) {
+ brw_try_compact_instruction(brw, dst, src)) {
compacted_count++;
if (INTEL_DEBUG) {
brw_compact_inst dst;
memset(&dst, 0xd0, sizeof(dst));
- if (brw_try_compact_instruction(p, &dst, &src)) {
+ if (brw_try_compact_instruction(brw, &dst, &src)) {
brw_inst uncompacted;
brw_uncompact_instruction(brw, &uncompacted, &dst);