diff --git a/src/video_core/pica/shader_unit.cpp b/src/video_core/pica/shader_unit.cpp index 5d81f857ab..cac3ecd4ad 100644 --- a/src/video_core/pica/shader_unit.cpp +++ b/src/video_core/pica/shader_unit.cpp @@ -9,7 +9,10 @@ namespace Pica { -ShaderUnit::ShaderUnit(GeometryEmitter* emitter) : emitter_ptr{emitter} {} +ShaderUnit::ShaderUnit(GeometryEmitter* emitter) : emitter_ptr{emitter} { + const Common::Vec4 temp_vec{f24::Zero(), f24::Zero(), f24::Zero(), f24::One()}; + temporary.fill(temp_vec); +} ShaderUnit::~ShaderUnit() = default;