Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/device/device_cpu.cpp
| Show First 20 Lines • Show All 463 Lines • ▼ Show 20 Lines | else { | ||||
| texture_info.resize(flat_slot + 128); | texture_info.resize(flat_slot + 128); | ||||
| } | } | ||||
| TextureInfo &info = texture_info[flat_slot]; | TextureInfo &info = texture_info[flat_slot]; | ||||
| info.data = (uint64_t)mem.host_pointer; | info.data = (uint64_t)mem.host_pointer; | ||||
| info.cl_buffer = 0; | info.cl_buffer = 0; | ||||
| info.interpolation = mem.interpolation; | info.interpolation = mem.interpolation; | ||||
| info.extension = mem.extension; | info.extension = mem.extension; | ||||
| info.compress_as_srgb = mem.compress_as_srgb; | |||||
| info.width = mem.data_width; | info.width = mem.data_width; | ||||
| info.height = mem.data_height; | info.height = mem.data_height; | ||||
| info.depth = mem.data_depth; | info.depth = mem.data_depth; | ||||
| need_texture_info = true; | need_texture_info = true; | ||||
| } | } | ||||
| mem.device_pointer = (device_ptr)mem.host_pointer; | mem.device_pointer = (device_ptr)mem.host_pointer; | ||||
| ▲ Show 20 Lines • Show All 762 Lines • Show Last 20 Lines | |||||