/external/skia/src/sksl/ir/ |
SkSLVariableReference.cpp | 19 , fVariable(variable) 22 fVariable.fWriteCount++; 25 fVariable.fReadCount++; 31 fVariable.fWriteCount--; 34 fVariable.fReadCount--; 40 fVariable.fWriteCount--; 43 fVariable.fReadCount--; 46 fVariable.fWriteCount++; 49 fVariable.fReadCount++; 97 fVariable.fStorage == Variable::kGlobal_Storage & [all...] |
SkSLVariableReference.h | 49 return 0 != (fVariable.fModifiers.fFlags & Modifiers::kConst_Flag); 53 return std::unique_ptr<Expression>(new VariableReference(fOffset, fVariable, fRefKind)); 57 return fVariable.fName; 66 const Variable& fVariable;
|
SkSLInterfaceBlock.h | 32 , fVariable(*var) 43 return std::unique_ptr<ProgramElement>(new InterfaceBlock(fOffset, &fVariable, fTypeName, 50 String result = fVariable.fModifiers.description() + fTypeName + " {\n"; 51 const Type* structType = &fVariable.fType; 72 const Variable& fVariable;
|
/external/skqp/src/sksl/ir/ |
SkSLVariableReference.cpp | 19 , fVariable(variable) 22 fVariable.fWriteCount++; 25 fVariable.fReadCount++; 31 fVariable.fWriteCount--; 34 fVariable.fReadCount--; 40 fVariable.fWriteCount--; 43 fVariable.fReadCount--; 46 fVariable.fWriteCount++; 49 fVariable.fReadCount++; 97 fVariable.fStorage == Variable::kGlobal_Storage & [all...] |
SkSLVariableReference.h | 49 return 0 != (fVariable.fModifiers.fFlags & Modifiers::kConst_Flag); 53 return std::unique_ptr<Expression>(new VariableReference(fOffset, fVariable, fRefKind)); 57 return fVariable.fName; 66 const Variable& fVariable;
|
SkSLInterfaceBlock.h | 32 , fVariable(*var) 43 return std::unique_ptr<ProgramElement>(new InterfaceBlock(fOffset, &fVariable, fTypeName, 50 String result = fVariable.fModifiers.description() + fTypeName + " {\n"; 51 const Type* structType = &fVariable.fType; 72 const Variable& fVariable;
|
/external/skqp/src/gpu/gl/ |
GrGLUniformHandler.cpp | 41 uni.fVariable.setType(type); 42 uni.fVariable.setTypeModifier(GrShaderVar::kUniform_TypeModifier); 53 fProgramBuilder->nameVariable(uni.fVariable.accessName(), prefix, name, mangleName); 54 uni.fVariable.setArrayCount(arrayCount); 56 uni.fVariable.setPrecision(precision); 60 *outName = uni.fVariable.c_str(); 80 sampler.fVariable.setType(GrSLCombinedSamplerTypeForTextureType(type)); 81 sampler.fVariable.setTypeModifier(GrShaderVar::kUniform_TypeModifier); 82 sampler.fVariable.setPrecision(precision); 83 sampler.fVariable.setName(mangleName) [all...] |
GrGLUniformHandler.h | 22 return fUniforms[u.toIndex()].fVariable; 46 return fSamplers[handle.toIndex()].fVariable;
|
GrGLVaryingHandler.cpp | 35 fPathProcVaryingInfos[i].fVariable = fFragInputs[i];
|
GrGLProgramDataManager.cpp | 27 SkASSERT(GrShaderVar::kNonArray == builderUniform.fVariable.getArrayCount() || 28 builderUniform.fVariable.getArrayCount() > 0); 30 uniform.fArrayCount = builderUniform.fVariable.getArrayCount(); 31 uniform.fType = builderUniform.fVariable.getType(); 43 SkASSERT(GrShaderVar::kNonArray == builderPathProcVarying.fVariable.getArrayCount() || 44 builderPathProcVarying.fVariable.getArrayCount() > 0); 46 pathProcVarying.fArrayCount = builderPathProcVarying.fVariable.getArrayCount(); 47 pathProcVarying.fType = builderPathProcVarying.fVariable.getType();
|
/external/skia/src/gpu/gl/ |
GrGLUniformHandler.cpp | 39 uni.fVariable.setType(type); 40 uni.fVariable.setTypeModifier(GrShaderVar::kUniform_TypeModifier); 51 fProgramBuilder->nameVariable(uni.fVariable.accessName(), prefix, name, mangleName); 52 uni.fVariable.setArrayCount(arrayCount); 57 *outName = uni.fVariable.c_str(); 76 sampler.fVariable.setType(GrSLCombinedSamplerTypeForTextureType(type)); 77 sampler.fVariable.setTypeModifier(GrShaderVar::kUniform_TypeModifier); 78 sampler.fVariable.setName(mangleName); 89 fUniforms[i].fVariable.appendDecl(fProgramBuilder->shaderCaps(), out); 95 fSamplers[i].fVariable.appendDecl(fProgramBuilder->shaderCaps(), out) [all...] |
GrGLUniformHandler.h | 22 return fUniforms[u.toIndex()].fVariable; 45 return fSamplers[handle.toIndex()].fVariable;
|
GrGLVaryingHandler.cpp | 35 fPathProcVaryingInfos[i].fVariable = fFragInputs[i];
|
GrGLProgramDataManager.cpp | 27 SkASSERT(GrShaderVar::kNonArray == builderUniform.fVariable.getArrayCount() || 28 builderUniform.fVariable.getArrayCount() > 0); 30 uniform.fArrayCount = builderUniform.fVariable.getArrayCount(); 31 uniform.fType = builderUniform.fVariable.getType(); 43 SkASSERT(GrShaderVar::kNonArray == builderPathProcVarying.fVariable.getArrayCount() || 44 builderPathProcVarying.fVariable.getArrayCount() > 0); 46 pathProcVarying.fArrayCount = builderPathProcVarying.fVariable.getArrayCount(); 47 pathProcVarying.fType = builderPathProcVarying.fVariable.getType();
|
GrGLProgramDataManager.h | 29 GrShaderVar fVariable; 35 GrShaderVar fVariable;
|
/external/skqp/src/gpu/mtl/ |
GrMtlUniformHandler.mm | 214 uni.fVariable.setType(type); 225 fProgramBuilder->nameVariable(uni.fVariable.accessName(), prefix, name, mangleName); 226 uni.fVariable.setArrayCount(arrayCount); 228 uni.fVariable.setPrecision(precision); 231 uni.fVariable.setTypeModifier(GrShaderVar::kNone_TypeModifier); 245 uni.fVariable.addLayoutQualifier(layoutQualifier.c_str()); 248 *outName = uni.fVariable.c_str(); 268 info.fVariable.setType(GrSLCombinedSamplerTypeForTextureType(type)); 269 info.fVariable.setTypeModifier(GrShaderVar::kUniform_TypeModifier); 270 info.fVariable.setPrecision(precision) [all...] |
GrMtlUniformHandler.h | 29 // fUBOffset is only valid if the GrSLType of the fVariable is not a sampler 31 GrShaderVar fVariable; 38 return fUniforms[u.toIndex()].fVariable; 69 return fSamplers[handle.toIndex()].fVariable;
|
/external/skqp/src/gpu/vk/ |
GrVkUniformHandler.cpp | 222 uni.fVariable.setType(type); 233 fProgramBuilder->nameVariable(uni.fVariable.accessName(), prefix, name, mangleName); 234 uni.fVariable.setArrayCount(arrayCount); 236 uni.fVariable.setPrecision(precision); 239 uni.fVariable.setTypeModifier(GrShaderVar::kNone_TypeModifier); 253 uni.fVariable.addLayoutQualifier(layoutQualifier.c_str()); 256 *outName = uni.fVariable.c_str(); 276 info.fVariable.setType(GrSLCombinedSamplerTypeForTextureType(type)); 277 info.fVariable.setTypeModifier(GrShaderVar::kUniform_TypeModifier); 278 info.fVariable.setPrecision(precision) [all...] |
GrVkUniformHandler.h | 38 GrShaderVar fVariable; 40 // fUBOffset is only valid if the GrSLType of the fVariable is not a sampler 49 return fUniforms[u.toIndex()].fVariable; 80 return fSamplers[handle.toIndex()].fVariable;
|
/external/skia/src/gpu/mtl/ |
GrMtlUniformHandler.mm | 216 uni.fVariable.setType(type); 227 fProgramBuilder->nameVariable(uni.fVariable.accessName(), prefix, name, mangleName); 228 uni.fVariable.setArrayCount(arrayCount); 232 uni.fVariable.setTypeModifier(GrShaderVar::kNone_TypeModifier); 249 uni.fVariable.addLayoutQualifier(layoutQualifier.c_str()); 252 *outName = uni.fVariable.c_str(); 271 info.fVariable.setType(GrSLCombinedSamplerTypeForTextureType(type)); 272 info.fVariable.setTypeModifier(GrShaderVar::kUniform_TypeModifier); 273 info.fVariable.setName(mangleName); 276 info.fVariable.addLayoutQualifier(layoutQualifier.c_str()) [all...] |
GrMtlUniformHandler.h | 29 // fUBOffset is only valid if the GrSLType of the fVariable is not a sampler 31 GrShaderVar fVariable; 38 return fUniforms[u.toIndex()].fVariable; 70 return fSamplers[handle.toIndex()].fVariable;
|
/external/skia/src/gpu/vk/ |
GrVkUniformHandler.cpp | 220 uni.fVariable.setType(type); 231 fProgramBuilder->nameVariable(uni.fVariable.accessName(), prefix, name, mangleName); 232 uni.fVariable.setArrayCount(arrayCount); 236 uni.fVariable.setTypeModifier(GrShaderVar::kNone_TypeModifier); 250 uni.fVariable.addLayoutQualifier(layoutQualifier.c_str()); 253 *outName = uni.fVariable.c_str(); 272 info.fVariable.setType(GrSLCombinedSamplerTypeForTextureType(type)); 273 info.fVariable.setTypeModifier(GrShaderVar::kUniform_TypeModifier); 274 info.fVariable.setName(mangleName); 277 info.fVariable.addLayoutQualifier(layoutQualifier.c_str()) [all...] |
GrVkUniformHandler.h | 38 GrShaderVar fVariable; 40 // fUBOffset is only valid if the GrSLType of the fVariable is not a sampler 49 return fUniforms[u.toIndex()].fVariable; 79 return fSamplers[handle.toIndex()].fVariable;
|
/external/skia/src/sksl/ |
SkSLPipelineStageCodeGenerator.cpp | 91 if (decl.fVar == &((VariableReference&) *c.fArguments[0]).fVariable) { 118 switch (ref.fVariable.fModifiers.fLayout.fBuiltin) { 134 if (ref.fVariable.fModifiers.fFlags & Modifiers::kUniform_Flag) { 146 if (&var == &ref.fVariable) { 162 this->write(ref.fVariable.fName);
|
/external/skqp/src/sksl/ |
SkSLPipelineStageCodeGenerator.cpp | 90 if (decl.fVar == &((VariableReference&) *c.fArguments[0]).fVariable) { 117 switch (ref.fVariable.fModifiers.fLayout.fBuiltin) { 133 if (ref.fVariable.fModifiers.fFlags & Modifiers::kUniform_Flag) { 145 if (&var == &ref.fVariable) { 161 this->write(ref.fVariable.fName);
|