Shader: Initialize conditional_code in interpreter
This doesn't belong in LoadInputVertex because it also happens for non-VS invocations. Since it's not used by the JIT it seems adequate to initialize it in the interpreter which is the only thing that cares about them.
This commit is contained in:
parent
1a2acc3baa
commit
9ea5eacf91
2 changed files with 3 additions and 3 deletions
|
@ -76,9 +76,6 @@ void UnitState::LoadInputVertex(const InputVertex& input, int num_attributes) {
|
|||
|
||||
for (int i = 0; i < num_attributes; i++)
|
||||
registers.input[attribute_register_map.GetRegisterForAttribute(i)] = input.attr[i];
|
||||
|
||||
conditional_code[0] = false;
|
||||
conditional_code[1] = false;
|
||||
}
|
||||
|
||||
MICROPROFILE_DEFINE(GPU_Shader, "GPU", "Shader", MP_RGB(50, 50, 240));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue