shader: sample packed normalized images with one bilinear gather

This commit is contained in:
nmzik committed 2026-10-13 21:27:07 +00:00
1 parent c11254a996
commit 56738aa4e1
7 files changed
+225 -24

No files matched your search

@@ -351,6 +351,9 @@ void DecodeMimg(uint32_t pc, std::span<const uint32_t> code, uint32_t word_index
if (a16) {
inst.image_sample_flags |= ImageSampleFlagA16;
}
if ((sample != nullptr || gather != nullptr) && (word0 & (1u << 12u)) != 0u) {
inst.image_sample_flags |= ImageSampleFlagUnnormalized;
}
inst.image_dimension = dimension;
inst.image_r128 = r128;
inst.image_nsa_dwords = nsa_dwords;