Home
last modified time | relevance | path

Searched refs:fVariable (Results 1 - 16 of 16) sorted by relevance

/third_party/skia/src/gpu/gl/
H A DGrGLUniformHandler.cpp52 tempInfo.fVariable = GrShaderVar{std::move(resolvedName), in internalAddUniformArray()
65 *outName = fUniforms.back().fVariable.c_str(); in internalAddUniformArray()
81 tempInfo.fVariable = GrShaderVar{std::move(mangleName), in addSampler()
100 uniform.fVariable.appendDecl(fProgramBuilder->shaderCaps(), out); in appendUniformDecls()
106 sampler.fVariable.appendDecl(fProgramBuilder->shaderCaps(), out); in appendUniformDecls()
116 GL_CALL(BindUniformLocation(programID, currUniform, uniform.fVariable.c_str())); in bindUniformLocations()
121 GL_CALL(BindUniformLocation(programID, currUniform, sampler.fVariable.c_str())); in bindUniformLocations()
132 GL_CALL_RET(location, GetUniformLocation(programID, uniform.fVariable.c_str())); in getUniformLocations()
137 GL_CALL_RET(location, GetUniformLocation(programID, sampler.fVariable.c_str())); in getUniformLocations()
H A DGrGLUniformHandler.h23 return fUniforms.item(u.toIndex()).fVariable;
59 return fSamplers.item(handle.toIndex()).fVariable.c_str();
H A DGrGLProgramDataManager.cpp23 SkASSERT(GrShaderVar::kNonArray == builderUniform.fVariable.getArrayCount() || in GrGLProgramDataManager()
24 builderUniform.fVariable.getArrayCount() > 0); in GrGLProgramDataManager()
26 uniform.fArrayCount = builderUniform.fVariable.getArrayCount(); in GrGLProgramDataManager()
27 uniform.fType = builderUniform.fVariable.getType(); in GrGLProgramDataManager()
H A DGrGLProgramDataManager.h34 GrShaderVar fVariable; member
/third_party/skia/src/gpu/vk/
H A DGrVkUniformHandler.cpp223 tempInfo.fVariable = GrShaderVar{std::move(resolvedName), in internalAddUniformArray()
242 *outName = fUniforms.back().fVariable.c_str(); in internalAddUniformArray()
260 tempInfo.fVariable = in addSampler()
296 SkASSERT(fInputUniform.fVariable.getType() == kVoid_GrSLType); in addInputSampler()
315 SkASSERT(sampler.fVariable.getType() == kTexture2DSampler_GrSLType || in appendUniformDecls()
316 sampler.fVariable.getType() == kTextureExternalSampler_GrSLType); in appendUniformDecls()
318 sampler.fVariable.appendDecl(fProgramBuilder->shaderCaps(), out); in appendUniformDecls()
322 if (fInputUniform.fVariable.getType() == kInput_GrSLType) { in appendUniformDecls()
325 fInputUniform.fVariable.appendDecl(fProgramBuilder->shaderCaps(), out); in appendUniformDecls()
350 if (GrSLTypeCanBeUniformValue(localUniform.fVariable in appendUniformDecls()
[all...]
H A DGrVkUniformHandler.h58 // offsets are only valid if the GrSLType of the fVariable is not a sampler.
68 return fUniforms.item(u.toIndex()).fVariable;
123 return fSamplers.item(handle.toIndex()).fVariable.c_str();
141 return fInputUniform.fVariable.c_str();
H A DGrVkPipelineStateDataManager.cpp29 SkASSERT(GrShaderVar::kNonArray == uniformInfo.fVariable.getArrayCount() || in GrVkPipelineStateDataManager()
30 uniformInfo.fVariable.getArrayCount() > 0); in GrVkPipelineStateDataManager()
32 uniform.fArrayCount = uniformInfo.fVariable.getArrayCount(); in GrVkPipelineStateDataManager()
36 uniform.fType = uniformInfo.fVariable.getType(); in GrVkPipelineStateDataManager()
/third_party/skia/src/gpu/
H A DGrSPIRVUniformHandler.cpp21 return fUniforms.item(u.toIndex()).fVariable; in getUniformVariable()
25 return fUniforms.item(u.toIndex()).fVariable.getName().c_str(); in getUniformCStr()
207 tempInfo.fVariable = GrShaderVar{std::move(resolvedName), in internalAddUniformArray()
222 *outName = fUniforms.back().fVariable.c_str(); in internalAddUniformArray()
239 tempInfo.fVariable = GrShaderVar{std::move(mangleName), in addSampler()
258 tempInfo.fVariable = GrShaderVar{std::move(mangleTexName), in addSampler()
268 fTextures.back().fVariable.getName().c_str(), in addSampler()
269 fSamplers.back().fVariable.getName().c_str()); in addSampler()
287 sampler.fVariable.appendDecl(fProgramBuilder->shaderCaps(), out); in appendUniformDecls()
289 (*textures).fVariable in appendUniformDecls()
[all...]
/third_party/skia/src/gpu/d3d/
H A DGrD3DPipelineStateDataManager.cpp21 SkASSERT(GrShaderVar::kNonArray == uniformInfo.fVariable.getArrayCount() || in GrD3DPipelineStateDataManager()
22 uniformInfo.fVariable.getArrayCount() > 0); in GrD3DPipelineStateDataManager()
24 uniform.fArrayCount = uniformInfo.fVariable.getArrayCount(); in GrD3DPipelineStateDataManager()
25 uniform.fType = uniformInfo.fVariable.getType(); in GrD3DPipelineStateDataManager()
/third_party/skia/src/sksl/ir/
H A DSkSLInterfaceBlock.h38 , fVariable(var) in InterfaceBlock()
45 return fVariable; in variable()
90 const Variable& fVariable; member in SkSL::final
H A DSkSLVariableReference.cpp19 , fVariable(variable) in VariableReference()
47 fVariable = variable; in setVariable()
H A DSkSLVariableReference.h55 return fVariable; in variable()
76 const Variable* fVariable; member in SkSL::final
/third_party/skia/src/gpu/glsl/
H A DGrGLSLUniformHandler.cpp18 return u.fVariable; in getUniformMapping()
30 return u.fVariable; in liftUniformToVertexShader()
H A DGrGLSLUniformHandler.h35 GrShaderVar fVariable; member
/third_party/skia/src/gpu/mtl/
H A DGrMtlUniformHandler.h31 // fUBOffset is only valid if the GrSLType of the fVariable is not a sampler
38 return fUniforms.item(u.toIndex()).fVariable;
81 return fSamplers.item(handle.toIndex()).fVariable.c_str();
/third_party/skia/src/gpu/dawn/
H A DGrDawnProgramDataManager.cpp22 uniform.fArrayCount = uniformInfo.fVariable.getArrayCount(); in GrDawnProgramDataManager()
23 uniform.fType = uniformInfo.fVariable.getType(); in GrDawnProgramDataManager()

Completed in 10 milliseconds