Cleanup: Remove Compilation Warning Eevee Materials

Pull Request: https://projects.blender.org/blender/blender/pulls/110193
This commit is contained in:
Jeroen Bakker
2023-07-17 07:50:25 +02:00
parent a04da965f6
commit bac6e81e57

View File

@@ -159,7 +159,7 @@ struct ShaderKey {
options = blend_flags;
options = (options << 6u) | shader_uuid_from_material_type(pipeline, geometry);
options = (options << 16u) | shader_closure_bits_from_flag(gpumat);
options = (options << 1u) | probe_capture;
options = (options << 1u) | uint64_t(probe_capture);
}
uint64_t hash() const