[PICA interpreter] Implement dp4, end

This commit is contained in:
wheremyfoodat 2022-09-23 15:49:56 +03:00
parent ce07b7e5e0
commit 75070ca6ef
3 changed files with 49 additions and 9 deletions

View file

@ -18,7 +18,7 @@ void PICAShader::reset() {
opDescriptorIndex = 0;
f32UniformTransfer = false;
const vec4f zero = vec4f({ f24::fromFloat32(0.0), f24::fromFloat32(0.0), f24::fromFloat32(0.0), f24::fromFloat32(0.0) });
const vec4f zero = vec4f({ f24::zero(), f24::zero(), f24::zero(), f24::zero() });
attributes.fill(zero);
floatUniforms.fill(zero);
outputs.fill(zero);