241
267
decode_node_uchar4(node.z, &co_offset, &out_offset, &alpha_offset, &srgb);
243
269
float3 co = stack_load_float3(stack, co_offset);
244
float4 f = svm_image_texture(kg, id, co.x, co.y, srgb);
271
float4 f = svm_image_texture(kg, id, co.x, co.y, srgb, use_alpha);
246
273
if(stack_valid(out_offset))
247
274
stack_store_float3(stack, out_offset, make_float3(f.x, f.y, f.z));