Lines Matching refs:imageOperands
106 uint32_t imageOperands = static_cast<spv::ImageOperandsMask>(insn.word(isDref ? 6 : 5)); in EmitImageSampleExplicitLod() local
107 imageOperands &= ~spv::ImageOperandsConstOffsetMask; // Dealt with later. in EmitImageSampleExplicitLod()
109 if((imageOperands & spv::ImageOperandsLodMask) == imageOperands) in EmitImageSampleExplicitLod()
113 else if((imageOperands & spv::ImageOperandsGradMask) == imageOperands) in EmitImageSampleExplicitLod()
118 UNSUPPORTED("Image operands 0x%08X", imageOperands); in EmitImageSampleExplicitLod()
171 uint32_t imageOperands = spv::ImageOperandsMaskNone; in EmitImageSampleUnconditional() local
186 imageOperands = static_cast<spv::ImageOperandsMask>(insn.word(operand++)); in EmitImageSampleUnconditional()
188 if(imageOperands & spv::ImageOperandsBiasMask) in EmitImageSampleUnconditional()
193 imageOperands &= ~spv::ImageOperandsBiasMask; in EmitImageSampleUnconditional()
199 if(imageOperands & spv::ImageOperandsLodMask) in EmitImageSampleUnconditional()
204 imageOperands &= ~spv::ImageOperandsLodMask; in EmitImageSampleUnconditional()
207 if(imageOperands & spv::ImageOperandsGradMask) in EmitImageSampleUnconditional()
214 imageOperands &= ~spv::ImageOperandsGradMask; in EmitImageSampleUnconditional()
217 if(imageOperands & spv::ImageOperandsConstOffsetMask) in EmitImageSampleUnconditional()
222 imageOperands &= ~spv::ImageOperandsConstOffsetMask; in EmitImageSampleUnconditional()
225 if(imageOperands & spv::ImageOperandsSampleMask) in EmitImageSampleUnconditional()
229 imageOperands &= ~spv::ImageOperandsSampleMask; in EmitImageSampleUnconditional()
235 if(imageOperands != 0) in EmitImageSampleUnconditional()
237 UNSUPPORTED("Image operands 0x%08X", imageOperands); in EmitImageSampleUnconditional()
619 uint32_t imageOperands = insn.word(5); in EmitImageRead() local
620 if(imageOperands & spv::ImageOperandsSampleMask) in EmitImageRead()
623 imageOperands &= ~spv::ImageOperandsSampleMask; in EmitImageRead()
626 if(imageOperands & spv::ImageOperandsZeroExtendMask) in EmitImageRead()
628 imageOperands &= ~spv::ImageOperandsZeroExtendMask; in EmitImageRead()
630 else if(imageOperands & spv::ImageOperandsSignExtendMask) in EmitImageRead()
632 imageOperands &= ~spv::ImageOperandsSignExtendMask; in EmitImageRead()
636 if(imageOperands != 0) in EmitImageRead()
638 UNSUPPORTED("Image operands 0x%08X", imageOperands); in EmitImageRead()
1021 uint32_t imageOperands = insn.word(4); in EmitImageWrite() local
1022 if(imageOperands & spv::ImageOperandsSampleMask) in EmitImageWrite()
1025 imageOperands &= ~spv::ImageOperandsSampleMask; in EmitImageWrite()
1028 if(imageOperands & spv::ImageOperandsZeroExtendMask) in EmitImageWrite()
1030 imageOperands &= ~spv::ImageOperandsZeroExtendMask; in EmitImageWrite()
1032 else if(imageOperands & spv::ImageOperandsSignExtendMask) in EmitImageWrite()
1034 imageOperands &= ~spv::ImageOperandsSignExtendMask; in EmitImageWrite()
1038 if(imageOperands != 0) in EmitImageWrite()
1040 UNSUPPORTED("Image operands 0x%08X", (int)imageOperands); in EmitImageWrite()