Home
last modified time | relevance | path

Searched refs:addUniform (Results 1 – 25 of 119) sorted by relevance

12345

/external/skia/src/gpu/gradients/
DGrUnrolledBinaryGradientColorizer.cpp64 fScale0_1Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
67 fScale2_3Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode()
71 fScale4_5Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode()
75 fScale6_7Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode()
79 fScale8_9Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode()
83 fScale10_11Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode()
87 fScale12_13Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode()
91 fScale14_15Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode()
94 fBias0_1Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
97 fBias2_3Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
[all …]
DGrDualIntervalGradientColorizer.cpp36 fScale01Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
38 fBias01Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
40 fScale23Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
42 fBias23Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
44 fThresholdVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, in emitCode()
DGrSingleIntervalGradientColorizer.cpp31 args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf4_GrSLType, "start"); in emitCode()
32 fEndVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf4_GrSLType, "end"); in emitCode()
DGrClampedGradientEffect.cpp33 fLeftBorderColorVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode()
35 fRightBorderColorVar = args.fUniformHandler->addUniform( in emitCode()
/external/skqp/src/gpu/gradients/
DGrUnrolledBinaryGradientColorizer.cpp64 fScale0_1Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
67 fScale2_3Var = args.fUniformHandler->addUniform( in emitCode()
71 fScale4_5Var = args.fUniformHandler->addUniform( in emitCode()
75 fScale6_7Var = args.fUniformHandler->addUniform( in emitCode()
79 fScale8_9Var = args.fUniformHandler->addUniform( in emitCode()
83 fScale10_11Var = args.fUniformHandler->addUniform( in emitCode()
87 fScale12_13Var = args.fUniformHandler->addUniform( in emitCode()
91 fScale14_15Var = args.fUniformHandler->addUniform( in emitCode()
94 fBias0_1Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
97 fBias2_3Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
[all …]
DGrDualIntervalGradientColorizer.cpp36 fScale01Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
38 fBias01Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
40 fScale23Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
42 fBias23Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
44 fThresholdVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, in emitCode()
DGrSingleIntervalGradientColorizer.cpp30 fStartVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf4_GrSLType, in emitCode()
32 fEndVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf4_GrSLType, in emitCode()
DGrClampedGradientEffect.cpp33 fLeftBorderColorVar = args.fUniformHandler->addUniform( in emitCode()
36 args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf4_GrSLType, in emitCode()
/external/deqp/modules/gles3/functional/
Des3fUniformBlockTests.cpp64 block.addUniform(Uniform("var", type, 0)); in BlockBasicTypeCase()
102 block.addUniform(Uniform("s", VarType(&typeS), 0)); in init()
135 block.addUniform(Uniform("u", VarType(glu::TYPE_UINT, PRECISION_LOW))); in init()
136 block.addUniform(Uniform("s", VarType(VarType(&typeS), 3))); in init()
137 block.addUniform(Uniform("v", VarType(glu::TYPE_FLOAT_VEC4, PRECISION_MEDIUM))); in init()
174 block.addUniform(Uniform("s", VarType(&typeS), 0)); in init()
175 block.addUniform(Uniform("v", VarType(glu::TYPE_FLOAT_VEC2, PRECISION_LOW), UNUSED_BOTH)); in init()
176 block.addUniform(Uniform("t", VarType(&typeT), 0)); in init()
177 block.addUniform(Uniform("u", VarType(glu::TYPE_UINT, PRECISION_HIGH), 0)); in init()
214 block.addUniform(Uniform("s", VarType(&typeS), 0)); in init()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockTests.cpp69 …block.addUniform(Uniform("padding", VarType(getDataTypeScalarType(tempType.getBasicType()), 0), 0)… in BlockBasicTypeCase()
71 block.addUniform(Uniform("var", type, 0)); in BlockBasicTypeCase()
111 block.addUniform(Uniform("s", VarType(&typeS), 0)); in BlockSingleStructCase()
136 block.addUniform(Uniform("u", VarType(glu::TYPE_UINT, PRECISION_LOW))); in BlockSingleStructArrayCase()
137 block.addUniform(Uniform("s", VarType(VarType(&typeS), 3))); in BlockSingleStructArrayCase()
138 block.addUniform(Uniform("v", VarType(glu::TYPE_FLOAT_VEC4, PRECISION_MEDIUM))); in BlockSingleStructArrayCase()
167 block.addUniform(Uniform("s", VarType(&typeS), 0)); in BlockSingleNestedStructCase()
168 block.addUniform(Uniform("v", VarType(glu::TYPE_FLOAT_VEC2, PRECISION_LOW), UNUSED_BOTH)); in BlockSingleNestedStructCase()
169 block.addUniform(Uniform("t", VarType(&typeT), 0)); in BlockSingleNestedStructCase()
170 block.addUniform(Uniform("u", VarType(glu::TYPE_UINT, PRECISION_HIGH), 0)); in BlockSingleNestedStructCase()
[all …]
/external/deqp/external/openglcts/modules/common/
DglcUniformBlockTests.cpp199 block.addUniform(Uniform(name.c_str(), type, flags)); in generateUniform()
303 block.addUniform(Uniform("var", type, 0)); in BlockBasicTypeCase()
348 block.addUniform(Uniform("s", VarType(&typeS), 0)); in init()
383 block.addUniform(Uniform("u", VarType(glu::TYPE_UINT, PRECISION_LOW))); in init()
384 block.addUniform(Uniform("s", VarType(VarType(&typeS), 3))); in init()
385 block.addUniform(Uniform("v", VarType(glu::TYPE_FLOAT_VEC4, PRECISION_MEDIUM))); in init()
424 block.addUniform(Uniform("s", VarType(&typeS), 0)); in init()
425 block.addUniform(Uniform("v", VarType(glu::TYPE_FLOAT_VEC2, PRECISION_LOW), UNUSED_BOTH)); in init()
426 block.addUniform(Uniform("t", VarType(&typeT), 0)); in init()
427 block.addUniform(Uniform("u", VarType(glu::TYPE_UINT, PRECISION_HIGH), 0)); in init()
[all …]
/external/skqp/src/gpu/effects/
DGrMagnifierEffect.cpp37 fBoundsUniformVar = args.fUniformHandler->addUniform( in emitCode()
39 fXInvZoomVar = args.fUniformHandler->addUniform( in emitCode()
41 fYInvZoomVar = args.fUniformHandler->addUniform( in emitCode()
43 fXInvInsetVar = args.fUniformHandler->addUniform( in emitCode()
45 fYInvInsetVar = args.fUniformHandler->addUniform( in emitCode()
47 fOffsetVar = args.fUniformHandler->addUniform( in emitCode()
DGrRectBlurEffect.cpp34 fRectVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
38 args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf4_GrSLType, in emitCode()
43 args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
46 fProfileSizeVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, in emitCode()
DGrRRectBlurEffect.cpp70 fCornerRadiusVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat_GrSLType, in emitCode()
72 fProxyRectVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
74 fBlurRadiusVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, in emitCode()
/external/skia/src/gpu/effects/
DGrMagnifierEffect.cpp37 fBoundsUniformVar = args.fUniformHandler->addUniform( in emitCode()
39 fXInvZoomVar = args.fUniformHandler->addUniform( in emitCode()
41 fYInvZoomVar = args.fUniformHandler->addUniform( in emitCode()
43 fXInvInsetVar = args.fUniformHandler->addUniform( in emitCode()
45 fYInvInsetVar = args.fUniformHandler->addUniform( in emitCode()
48 args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf2_GrSLType, "offset"); in emitCode()
DGrRectBlurEffect.cpp35 args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, "rect"); in emitCode()
37 fProxyRectHalfVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode()
41 fProxyRectFloatVar = args.fUniformHandler->addUniform( in emitCode()
44 fProfileSizeVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, in emitCode()
DGrRRectBlurEffect.cpp71 fCornerRadiusVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, in emitCode()
73 fProxyRectVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
75 fBlurRadiusVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, in emitCode()
DGrAlphaThresholdFragmentProcessor.cpp40 fInnerThresholdVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode()
42 fOuterThresholdVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderStructTests.cpp1287 instance.addUniform(1u, vk::VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, sizeof(S), &s); in init()
1338 instance.addUniform(2u, vk::VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER,sizeof(S), &s); in init()
1381 instance.addUniform(1u, vk::VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER,sizeof(S), &s); in init()
1428 instance.addUniform(3u, vk::VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, sizeof(S), &s); in init()
1470 instance.addUniform(3u, vk::VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, 3 * sizeof(S), s); in init()
1512 instance.addUniform(3u, vk::VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, 3 * sizeof(S), s); in init()
1582 instance.addUniform(0u, vk::VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, 2 * sizeof(S), s); in init()
1658 instance.addUniform(3u, vk::VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, 2 * sizeof(S), s); in init()
1706 instance.addUniform(3u, vk::VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, 3u * sizeof(S), s); in init()
1807 instance.addUniform(10u, vk::VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, 2 * sizeof(S), s); in init()
[all …]
/external/skqp/src/gpu/glsl/
DGrGLSLUniformHandler.h46 UniformHandle addUniform(uint32_t visibility,
55 UniformHandle addUniform(uint32_t visibility,
59 return this->addUniform(visibility, type, kDefault_GrSLPrecision, name, outName);
DGrGLSLXferProcessor.cpp63 fDstTopLeftUni = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode()
67 fDstScaleUni = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode()
/external/deqp/modules/gles31/functional/
Des31fUniformBlockTests.cpp66 block.addUniform(Uniform("var", type, 0)); in BlockBasicTypeCase()
104 block.addUniform(Uniform("u", VarType(glu::TYPE_INT, PRECISION_MEDIUM))); in init()
105 block.addUniform(Uniform("s", VarType(VarType(VarType(&typeS), 3), 2))); in init()
106 block.addUniform(Uniform("v", VarType(glu::TYPE_FLOAT_VEC2, PRECISION_MEDIUM))); in init()
/external/skia/src/gpu/glsl/
DGrGLSLXferProcessor.cpp63 fDstTopLeftUni = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode()
67 fDstScaleUni = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode()
/external/skia/src/gpu/ccpr/
DGrCCClipProcessor.cpp57 fPathIBoundsUniform = uniHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
65 fAtlasTransformUniform = uniHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
/external/skqp/src/gpu/ccpr/
DGrCCClipProcessor.cpp57 fPathIBoundsUniform = uniHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
65 fAtlasTransformUniform = uniHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()

12345