const struct value_desc *d;
int api;
+ *p = NULL;
+
api = ctx->API;
/* We index into the table_set[] list of per-API hash tables using the API's
* value in the gl_api enum. Since GLES 3 doesn't have an API_OPENGL* enum
GLuint pixerror, pixerrorred, pixerrorgreen, pixerrorblue, pixerrorbest;
GLint colordist, blockerrlin[2][3];
GLubyte nrcolor[2];
- GLint pixerrorcolorbest[3];
+ GLint pixerrorcolorbest[3] = {0};
GLubyte enc = 0;
GLubyte cv[4][4];
GLubyte testcolor[2][3];
{
src_reg src;
int i;
- int swizzle[4];
+ int swizzle[4] = {0};
/* Note that this is only swizzles in expressions, not those on the left
* hand side of an assignment, which do write masking. See ir_assignment
* This avoids relying on names to match parameters and uniform
* storages later when associating uniform storage.
*/
- unsigned location;
- const bool found =
+ unsigned location = -1;
+ ASSERTED const bool found =
shader_program->UniformHash->get(location, params->Parameters[index].Name);
assert(found);
{
st_src_reg src;
int i;
- int swizzle[4];
+ int swizzle[4] = {0};
/* Note that this is only swizzles in expressions, not those on the left
* hand side of an assignment, which do write masking. See ir_assignment