Home
last modified time | relevance | path

Searched refs:gglCtx (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/pixelflinger2/
Dllvm_scanline.cpp261 Value * GenerateFSBlend(const GGLState * gglCtx, const GGLPixelFormat format, /*const RegDesc * reg… in GenerateFSBlend() argument
267 if (!gglCtx->blendState.enable) { in GenerateFSBlend()
335 Value * constant = constIntVec(builder,gglCtx->blendState.color[0], in GenerateFSBlend()
336 gglCtx->blendState.color[1], in GenerateFSBlend()
337 gglCtx->blendState.color[2], in GenerateFSBlend()
338 gglCtx->blendState.color[3]); in GenerateFSBlend()
348 Value * sf = BlendFactor(gglCtx->blendState.scf, src, dst, in GenerateFSBlend()
351 if (gglCtx->blendState.scf != gglCtx->blendState.saf) { in GenerateFSBlend()
352 Value * sfA = BlendFactor(gglCtx->blendState.saf, srcA, dstA, in GenerateFSBlend()
359 Value * df = BlendFactor(gglCtx->blendState.dcf, src, dst, in GenerateFSBlend()
[all …]
Dllvm_texture.cpp276 const GGLState * gglCtx) in tex2D() argument
304 Value * x = texcoordWrap(builder, gglCtx->textureState.textures[sampler].wrapS, in tex2D()
306 Value * y = texcoordWrap(builder, gglCtx->textureState.textures[sampler].wrapT, in tex2D()
321 if (0 == gglCtx->textureState.textures[sampler].minFilter && in tex2D()
322 0 == gglCtx->textureState.textures[sampler].magFilter) { // GL_NEAREST in tex2D()
324 gglCtx->textureState.textures[sampler].format/*, dstDesc*/); in tex2D()
326 } else if (1 == gglCtx->textureState.textures[sampler].minFilter && in tex2D()
327 1 == gglCtx->textureState.textures[sampler].magFilter) { // GL_LINEAR in tex2D()
330 gglCtx->textureState.textures[sampler].format/*, dstDesc*/); in tex2D()
366 const GGLState * gglCtx) in texCube() argument
[all …]
Dshader.cpp360 const GGLState * gglCtx; member
368 const GGLState * gglCtx = ctx->gglCtx; in SymbolLookup() local
372 symbol = (void *)gglCtx->textureState.textureData; in SymbolLookup()
374 symbol = (void *)gglCtx->textureState.textureDimensions; in SymbolLookup()
387 gl_shader_program * program, const GGLState * gglCtx) in CodeGen() argument
389 SymbolLookupContext ctx = {gglCtx, program, shader}; in CodeGen()
420 void GenerateScanLine(const GGLState * gglCtx, const gl_shader_program * program, llvm::Module * mo…
/external/mesa3d/src/glsl/
Dir_to_llvm.h8 const struct GGLState * gglCtx, const char * shaderSuffix);
Dir_to_llvm.cpp82 const GGLState * gglCtx);
84 const GGLState * gglCtx);
100 const GGLState * gglCtx; member in ir_to_llvm_visitor
107 (llvm::BasicBlock*)0)), bb(0), bld(ctx), gglCtx(GGLCtx), shaderSuffix(suffix), in ir_to_llvm_visitor()
963 result = texCube(bld, coordinate, sampler->location, gglCtx); in visit()
965 result = tex2D(bld, coordinate, sampler->location, gglCtx); in visit()
1384 const struct GGLState * gglCtx, const char * shaderSuffix) in glsl_ir_to_llvm_module() argument
1386 ir_to_llvm_visitor v(mod, gglCtx, shaderSuffix); in glsl_ir_to_llvm_module()