Lines Matching defs:sample
2161 bool sample = a->opcode == ac_image_sample || a->opcode == ac_image_gather4 ||
2166 LLVMTypeRef coord_type = sample ? (a->a16 ? ctx->f16 : ctx->f32) : (a->a16 ? ctx->i16 : ctx->i32);
2217 overload[num_overloads++] = sample ? (a->a16 ? ".f16" : ".f32") : (a->a16 ? ".i16" : ".i32");
2220 if (sample) {
2233 name = "sample";
2304 "%s%s%s%s" /* sample/gather modifiers */
2324 if (!sample && !atomic && retty != ctx->voidt)
3081 /* Adjust the sample index according to FMASK.
3084 * which is the identity mapping. Each nibble says which physical sample
3085 * should be fetched to get that sample.
3088 * the second sample covers 3/4 of the pixel. When reading samples 0
3089 * and 1, return physical sample 0 (determined by the first two 0s
3090 * in FMASK), otherwise return physical sample 1.
3092 * The sample index should be adjusted as follows:
3114 /* Don't rewrite the sample index if WORD1.DATA_FORMAT of the FMASK
3131 /* Mask the sample index by 0x7, because 0x8 means an unknown value
4331 args->out[2] = LLVMGetUndef(ctx->f32); /* B, sample mask */