1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 enum { TGSI_FILE_NULL
};
11 unsigned IndirectFile
: 4;
12 unsigned IndirectSwizzle
: 2;
20 int ureg_src_indirect_addr_1
, ntt_emit_texture_instr_sampler_handle_src
;
22 void ureg_scalar(struct ureg_src
);
24 void ntt_emit_texture_instr() {
25 struct ureg_src sampler
;
26 if (ntt_emit_texture_instr_sampler_handle_src
)
27 sampler
= __trans_tmp_1
;
28 struct ureg_src reg
= sampler
;
29 reg
.File
!= TGSI_FILE_NULL
;
30 reg
.IndirectFile
= reg
.IndirectSwizzle
= ureg_src_indirect_addr_1
;