Fix (harmless) uninitialized variable usage in Cycles Metal device
This commit is contained in:
parent
cf1505d2a5
commit
25e74f0115
|
@ -73,7 +73,7 @@ class MetalDevice : public Device {
|
||||||
/* Bindless Textures */
|
/* Bindless Textures */
|
||||||
bool is_texture(const TextureInfo &tex);
|
bool is_texture(const TextureInfo &tex);
|
||||||
device_vector<TextureInfo> texture_info;
|
device_vector<TextureInfo> texture_info;
|
||||||
bool need_texture_info;
|
bool need_texture_info = false;
|
||||||
id<MTLArgumentEncoder> mtlTextureArgEncoder = nil;
|
id<MTLArgumentEncoder> mtlTextureArgEncoder = nil;
|
||||||
id<MTLArgumentEncoder> mtlBufferArgEncoder = nil;
|
id<MTLArgumentEncoder> mtlBufferArgEncoder = nil;
|
||||||
id<MTLBuffer> buffer_bindings_1d = nil;
|
id<MTLBuffer> buffer_bindings_1d = nil;
|
||||||
|
|
Loading…
Reference in New Issue