diff options
author | YimingWu <xp8110@outlook.com> | 2019-12-13 08:42:27 +0300 |
---|---|---|
committer | YimingWu <xp8110@outlook.com> | 2019-12-13 08:42:27 +0300 |
commit | b5abbc40a07041af91dca5d0a4acd8e5f1518c91 (patch) | |
tree | f734ceb8f04697885658478b403fe08be603eaa7 /source/blender/gpu/intern/gpu_codegen.h | |
parent | c2c644722900213f1a567aec072a5fddac107993 (diff) | |
parent | 123744e432cbdad77b251686b67d18dd190b8204 (diff) |
Merge remote-tracking branch 'origin/master' into temp-lanpr-review
Diffstat (limited to 'source/blender/gpu/intern/gpu_codegen.h')
-rw-r--r-- | source/blender/gpu/intern/gpu_codegen.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_codegen.h b/source/blender/gpu/intern/gpu_codegen.h index 4e09f16ebf8..0e6982c603e 100644 --- a/source/blender/gpu/intern/gpu_codegen.h +++ b/source/blender/gpu/intern/gpu_codegen.h @@ -99,6 +99,7 @@ struct GPUNodeLink { struct { struct Image *ima; struct ImageUser *iuser; + int image_tile; }; }; }; @@ -138,6 +139,7 @@ typedef struct GPUInput { struct ImageUser *iuser; /* image user */ bool bindtex; /* input is responsible for binding the texture? */ int texid; /* number for multitexture, starting from zero */ + int image_tile; /* image tile */ eGPUType textype; /* texture type (2D, 1D Array ...) */ }; /* GPU_SOURCE_ATTR */ |