summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_scan.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2019-07-22 21:08:48 -0400
committerMarek Olšák <[email protected]>2019-07-23 15:08:37 -0400
commit45556731b6e099709a09eb8e65e27d7f709831b2 (patch)
treebea932101b0843b788c64f4c2b2b9c0cb911a695 /src/gallium/auxiliary/tgsi/tgsi_scan.c
parentee858871bd8f9d9ea7179c266f57ac3f1604eb02 (diff)
tgsi/scan: add uses_fbfetch
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_scan.c')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_scan.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.c b/src/gallium/auxiliary/tgsi/tgsi_scan.c
index 4cb1a3152c3..37a223a0f68 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_scan.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_scan.c
@@ -411,6 +411,9 @@ scan_instruction(struct tgsi_shader_info *info,
info->uses_bindless_image_store = true;
}
break;
+ case TGSI_OPCODE_FBFETCH:
+ info->uses_fbfetch = true;
+ break;
default:
break;
}