Home
last modified time | relevance | path

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

12345

/third_party/flutter/skia/src/gpu/gradients/generated/
DGrUnrolledBinaryGradientColorizer.cpp65 scale0_1Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
68 scale2_3Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
72 scale4_5Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
76 scale6_7Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
80 scale8_9Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
84 scale10_11Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode()
88 scale12_13Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode()
92 scale14_15Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode()
95 bias0_1Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
98 bias2_3Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
[all …]
DGrDualIntervalGradientColorizer.cpp37 scale01Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
39 bias01Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
41 scale23Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
43 bias23Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
45 thresholdVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, in emitCode()
DGrSingleIntervalGradientColorizer.cpp32 args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf4_GrSLType, "start"); in emitCode()
33 endVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf4_GrSLType, "end"); in emitCode()
DGrClampedGradientEffect.cpp34 leftBorderColorVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode()
36 rightBorderColorVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode()
DGrSweepGradientLayout.cpp32 biasVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, "bias"); in emitCode()
34 args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, "scale"); in emitCode()
/third_party/vk-gl-cts/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()
216 block.addUniform(Uniform("s", VarType(&typeS, m_matrixArrayLayoutFlags), 0)); in init()
[all …]
/third_party/vk-gl-cts/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()
109 block.addUniform(Uniform("s", VarType(&typeS), 0)); in BlockSingleStructCase()
132 block.addUniform(Uniform("u", VarType(glu::TYPE_UINT, PRECISION_LOW))); in BlockSingleStructArrayCase()
133 block.addUniform(Uniform("s", VarType(VarType(&typeS), 3))); in BlockSingleStructArrayCase()
134 block.addUniform(Uniform("v", VarType(glu::TYPE_FLOAT_VEC4, PRECISION_MEDIUM))); in BlockSingleStructArrayCase()
161 block.addUniform(Uniform("s", VarType(&typeS), 0)); in BlockSingleNestedStructCase()
162 block.addUniform(Uniform("v", VarType(glu::TYPE_FLOAT_VEC2, PRECISION_LOW), UNUSED_BOTH)); in BlockSingleNestedStructCase()
163 block.addUniform(Uniform("t", VarType(&typeT), 0)); in BlockSingleNestedStructCase()
164 block.addUniform(Uniform("u", VarType(glu::TYPE_UINT, PRECISION_HIGH), 0)); in BlockSingleNestedStructCase()
[all …]
/third_party/skia/src/gpu/tessellate/shaders/
DGrStrokeTessellationShader_InstancedImpl.cpp37 fTessControlArgsUniform = args.fUniformHandler->addUniform( in onEmitCode()
47 fTessControlArgsUniform = args.fUniformHandler->addUniform( in onEmitCode()
72 fEdgeCountUniform = args.fUniformHandler->addUniform( in onEmitCode()
80 fAffineMatrixUniform = args.fUniformHandler->addUniform(nullptr, kVertex_GrShaderFlag, in onEmitCode()
83 fTranslateUniform = args.fUniformHandler->addUniform(nullptr, kVertex_GrShaderFlag, in onEmitCode()
DGrPathTessellationShader.cpp122 fAffineMatrixUniform = args.fUniformHandler->addUniform(nullptr, kVertex_GrShaderFlag, in onEmitCode()
125 fTranslateUniform = args.fUniformHandler->addUniform(nullptr, kVertex_GrShaderFlag, in onEmitCode()
138 fColorUniform = args.fUniformHandler->addUniform(nullptr, kFragment_GrShaderFlag, in onEmitCode()
DGrStrokeTessellationShader_HardwareImpl.cpp66 fTessControlArgsUniform = uniHandler->addUniform(nullptr, in onEmitCode()
77 fTessControlArgsUniform = uniHandler->addUniform(nullptr, in onEmitCode()
89 fTranslateUniform = uniHandler->addUniform(nullptr, kTessEvaluation_GrShaderFlag, in onEmitCode()
99 fAffineMatrixUniform = uniHandler->addUniform(nullptr, affineMatrixVisibility, kFloat4_GrSLType, in onEmitCode()
/third_party/vk-gl-cts/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 …]
/third_party/flutter/skia/src/gpu/effects/generated/
DGrMagnifierEffect.cpp38 boundsUniformVar = args.fUniformHandler->addUniform( in emitCode()
40 xInvZoomVar = args.fUniformHandler->addUniform( in emitCode()
42 yInvZoomVar = args.fUniformHandler->addUniform( in emitCode()
44 xInvInsetVar = args.fUniformHandler->addUniform( in emitCode()
46 yInvInsetVar = args.fUniformHandler->addUniform( in emitCode()
49 args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf2_GrSLType, "offset"); in emitCode()
DGrRectBlurEffect.cpp34 rectFVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
38 rectHVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf4_GrSLType, in emitCode()
42 args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, "sigma"); in emitCode()
DGrRRectBlurEffect.cpp71 cornerRadiusVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, in emitCode()
73 proxyRectVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
75 blurRadiusVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, in emitCode()
DGrColorMatrixFragmentProcessor.cpp37 mVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf4x4_GrSLType, "m"); in emitCode()
38 vVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf4_GrSLType, "v"); in emitCode()
DGrAlphaThresholdFragmentProcessor.cpp40 innerThresholdVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, in emitCode()
42 outerThresholdVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, in emitCode()
DGrEllipseEffect.cpp34 ellipseVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
37 scaleVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat2_GrSLType, in emitCode()
/third_party/vk-gl-cts/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 …]
/third_party/skia/src/gpu/effects/
DGrModulateAtlasCoverageEffect.cpp46 fBoundsUniform = uniHandler->addUniform(&fp, kFragment_GrShaderFlag, in onMakeProgramImpl()
58 fCoverageMaybeInvertUniform = uniHandler->addUniform(&fp, kFragment_GrShaderFlag, in onMakeProgramImpl()
/third_party/vk-gl-cts/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()
/third_party/flutter/skia/src/gpu/glsl/
DGrGLSLXferProcessor.cpp62 fDstTopLeftUni = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode()
66 fDstScaleUni = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode()
DGrGLSLGeometryProcessor.cpp75 fInstalledTransforms.push_back().fHandle = uniformHandler->addUniform(kVertex_GrShaderFlag, in emitTransforms()
133 *viewMatrixUniform = uniformHandler->addUniform(kVertex_GrShaderFlag, in writeOutputPosition()
/third_party/skia/tests/
DSkSLCross.cpp63 fAUniform = args.fUniformHandler->addUniform(&fp, kFragment_GrShaderFlag, in onMakeProgramImpl()
65 fBUniform = args.fUniformHandler->addUniform(&fp, kFragment_GrShaderFlag, in onMakeProgramImpl()
/third_party/flutter/skia/src/gpu/ccpr/
DGrCCClipProcessor.cpp64 fPathIBoundsUniform = uniHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
72 fAtlasTransformUniform = uniHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
/third_party/flutter/skia/src/gpu/effects/
DGrMatrixConvolutionEffect.cpp49 fImageIncrementUni = uniformHandler->addUniform(kFragment_GrShaderFlag, kHalf2_GrSLType, in emitCode()
54 fKernelOffsetUni = uniformHandler->addUniform(kFragment_GrShaderFlag, kHalf2_GrSLType, in emitCode()
56 fGainUni = uniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, "Gain"); in emitCode()
57 fBiasUni = uniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, "Bias"); in emitCode()

12345