Lines Matching refs:resources
40 // Set up the per compile resources
42 void GenerateResources(ShBuiltInResources* resources)
44 ShInitBuiltInResources(resources);
46 resources->MaxVertexAttribs = 8;
47 resources->MaxVertexUniformVectors = 128;
48 resources->MaxVaryingVectors = 8;
49 resources->MaxVertexTextureImageUnits = 0;
50 resources->MaxCombinedTextureImageUnits = 8;
51 resources->MaxTextureImageUnits = 8;
52 resources->MaxFragmentUniformVectors = 16;
53 resources->MaxDrawBuffers = 1;
55 resources->OES_standard_derivatives = 0;
56 resources->OES_EGL_image_external = 0;
75 ShBuiltInResources resources;
76 GenerateResources(&resources);
127 case 'i': resources.OES_EGL_image_external = 1; break;
128 case 'd': resources.OES_standard_derivatives = 1; break;
129 case 'r': resources.ARB_texture_rectangle = 1; break;
144 SH_VERTEX_SHADER, spec, output, &resources);
150 SH_FRAGMENT_SHADER, spec, output, &resources);