gallivm/nir: support passing image index into image code.
[mesa.git] / src / gallium / auxiliary / gallivm / lp_bld_sample.h
index 22fab7445aa40a13771bbe331082256c46365e7a..9b42d3faad5c17f2cc28d1f3fd2a3cf2577acd0f 100644 (file)
@@ -140,6 +140,7 @@ struct lp_img_params
 {
    struct lp_type type;
    unsigned image_index;
 {
    struct lp_type type;
    unsigned image_index;
+   LLVMValueRef image_index_offset;
    unsigned img_op;
    unsigned target;
    LLVMAtomicRMWBinOp op;
    unsigned img_op;
    unsigned target;
    LLVMAtomicRMWBinOp op;