rsx: Initialize some vars

This commit is contained in:
kd-11 2024-04-28 19:16:54 +03:00 committed by kd-11
parent 0d0fc23f9e
commit 37c9392e59
1 changed files with 2 additions and 2 deletions

View File

@ -60,9 +60,9 @@ namespace rsx
struct VertexProgramBase
{
u32 id;
u32 id = 0;
std::vector<u16> constant_ids;
bool has_indexed_constants;
bool has_indexed_constants = false;
// Translates an incoming range of constants against our mapping.
// If there is no linear mapping available, return -1, otherwise returns the translated index of the first slot