[PATCH] D135904: [SPIR-V] Add get_image_num_mip_levels implementation

Michal Paszkowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 13 12:00:11 PDT 2022


mpaszkowski created this revision.
mpaszkowski added reviewers: iliya-diyachkov, konrad.trifunovic, zuban32, andreytr, arsenm, MaskRay, rengolin.
Herald added subscribers: StephenFan, ThomasRaoux, hiraditya.
Herald added a project: All.
mpaszkowski requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

This change:

- Adds implementation for the get_image_num_mip_levels builtin
- Adds a passing get_image_num_mip_levels.ll test


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135904

Files:
  llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
  llvm/lib/Target/SPIRV/SPIRVBuiltins.td
  llvm/test/CodeGen/SPIRV/transcoding/get_image_num_mip_levels.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135904.467558.patch
Type: text/x-patch
Size: 9023 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221013/d0769ad1/attachment.bin>


More information about the llvm-commits mailing list