Lines Matching full:resources

34 // This is a helper class to make sure all the resources used by the compiler are initialized
105 ShBuiltInResources resources; in LLVMFuzzerTestOneInput() local
106 resources.MaxVertexAttribs = sw::MAX_VERTEX_INPUTS; in LLVMFuzzerTestOneInput()
107 resources.MaxVertexUniformVectors = sw::VERTEX_UNIFORM_VECTORS - 3; in LLVMFuzzerTestOneInput()
108 resources.MaxVaryingVectors = MIN(sw::MAX_VERTEX_OUTPUTS, sw::MAX_VERTEX_INPUTS); in LLVMFuzzerTestOneInput()
109 resources.MaxVertexTextureImageUnits = sw::VERTEX_TEXTURE_IMAGE_UNITS; in LLVMFuzzerTestOneInput()
110 resources.MaxCombinedTextureImageUnits = sw::TEXTURE_IMAGE_UNITS + sw::VERTEX_TEXTURE_IMAGE_UNITS; in LLVMFuzzerTestOneInput()
111 resources.MaxTextureImageUnits = sw::TEXTURE_IMAGE_UNITS; in LLVMFuzzerTestOneInput()
112 resources.MaxFragmentUniformVectors = sw::FRAGMENT_UNIFORM_VECTORS - 3; in LLVMFuzzerTestOneInput()
113 resources.MaxDrawBuffers = sw::RENDERTARGETS; in LLVMFuzzerTestOneInput()
114 resources.MaxVertexOutputVectors = 16; // ??? in LLVMFuzzerTestOneInput()
115 resources.MaxFragmentInputVectors = 15; // ??? in LLVMFuzzerTestOneInput()
116 resources.MinProgramTexelOffset = sw::MIN_PROGRAM_TEXEL_OFFSET; in LLVMFuzzerTestOneInput()
117 resources.MaxProgramTexelOffset = sw::MAX_PROGRAM_TEXEL_OFFSET; in LLVMFuzzerTestOneInput()
118 resources.OES_standard_derivatives = 1; in LLVMFuzzerTestOneInput()
119 resources.OES_fragment_precision_high = 1; in LLVMFuzzerTestOneInput()
120 resources.OES_EGL_image_external = 1; in LLVMFuzzerTestOneInput()
121 resources.OES_EGL_image_external_essl3 = 1; in LLVMFuzzerTestOneInput()
122 resources.EXT_draw_buffers = 1; in LLVMFuzzerTestOneInput()
123 resources.ARB_texture_rectangle = 1; in LLVMFuzzerTestOneInput()
124 resources.MaxCallStackDepth = 16; in LLVMFuzzerTestOneInput()
126 glslCompiler->Init(resources); in LLVMFuzzerTestOneInput()