This is clear for texelFetch, hence the confusion with Bifrost's filter
field, but it's much more general in reality.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
/* Instruction "modifiers" parallel the ALU instructions. */
- if (!texture->filter)
- printf(".raw");
-
if (texture->shadow)
printf(".shadow");
print_swizzle_vec4(texture->swizzle, false, false);
printf(", ");
- print_texture_reg(/*texture->in_reg_full*/true, texture->in_reg_select, texture->in_reg_upper);
+ print_texture_reg(texture->in_reg_full, texture->in_reg_select, texture->in_reg_upper);
print_swizzle_vec4(texture->in_reg_swizzle, false, false);
/* There is *always* an offset attached. Of
* specificed in offset_imm_* */
unsigned offset_register : 1;
- /* Like in Bifrost */
- unsigned filter : 1;
-
+ unsigned in_reg_full : 1;
unsigned in_reg_select : 1;
unsigned in_reg_upper : 1;
unsigned in_reg_swizzle : 8;
.mask = 0xF,
/* TODO: half */
- //.in_reg_full = 1,
+ .in_reg_full = 1,
.in_reg_swizzle = SWIZZLE_XYZW,
.out_full = 1,
- .filter = 1,
-
/* Always 1 */
.unknown7 = 1,