diff options
author | Pierre-Eric Pelloux-Prayer <[email protected]> | 2019-07-12 15:54:17 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-08-06 17:40:34 -0400 |
commit | 8b6bfed3d254f2652f7f416384e2f2ffc27dc8ba (patch) | |
tree | a26fa6231c91a87596f1b6d0848311be36650ffe /src/gallium/auxiliary/tgsi/tgsi_scan.c | |
parent | 1d8a71af5732ff3df4ae75639a1fd4076e44d30c (diff) |
tgsi: add ATOMICINC_WRAP/ATOMICDEC_WRAP opcode
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_scan.c')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_scan.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.c b/src/gallium/auxiliary/tgsi/tgsi_scan.c index 37a223a0f68..3ed8d1a3ed3 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_scan.c +++ b/src/gallium/auxiliary/tgsi/tgsi_scan.c @@ -392,6 +392,8 @@ scan_instruction(struct tgsi_shader_info *info, case TGSI_OPCODE_ATOMIMIN: case TGSI_OPCODE_ATOMIMAX: case TGSI_OPCODE_ATOMFADD: + case TGSI_OPCODE_ATOMINC_WRAP: + case TGSI_OPCODE_ATOMDEC_WRAP: if (tgsi_is_bindless_image_file(fullinst->Src[0].Register.File)) { info->uses_bindless_images = true; |