Home
last modified time | relevance | path

Searched refs:numUniforms (Results 1 – 21 of 21) sorted by relevance

/third_party/skia/tests/graphite/
DUniformTest.cpp24 int numUniforms = 0; in create_paint() local
27 numUniforms += 1; in create_paint()
31 numUniforms += 6; in create_paint()
35 numUniforms += 6; in create_paint()
40 numUniforms += 6; in create_paint()
46 numUniforms += 6; in create_paint()
53 return { p, numUniforms }; in create_paint()
DUniformCacheTest.cpp20 sk_sp<UniformData> make_ud(int numUniforms, int dataSize) { in make_ud() argument
28 SkASSERT(numUniforms <= kMaxUniforms); in make_ud()
30 sk_sp<UniformData> ud = UniformData::Make(numUniforms, kUniforms, dataSize); in make_ud()
31 for (int i = 0; i < numUniforms; ++i) { in make_ud()
/third_party/skia/src/gpu/glsl/
DGrGLSLUniformHandler.cpp15 for (int i = this->numUniforms() - 1; i >= 0; i--) { in getUniformMapping()
26 for (int i = this->numUniforms() - 1; i >= 0; i--) { in liftUniformToVertexShader()
DGrGLSLUniformHandler.h81 virtual int numUniforms() const = 0;
/third_party/skia/src/gpu/
DGrUniformDataManager.cpp34 int numUniforms, in copyUniforms() argument
47 while (numUniforms-- > 0) { in copyUniforms()
63 while (numUniforms-- > 0) { in copyUniforms()
75 memcpy(dest, src, numUniforms * 4); in copyUniforms()
DGrSPIRVUniformHandler.h38 int numUniforms() const override { in numUniforms() function
DGrUniformDataManager.h63 int copyUniforms(void* dest, const void* src, int numUniforms, GrSLType uniformType) const;
/third_party/skia/experimental/graphite/src/
DUniformManager.cpp152 static void CopyUniforms(void* dst, const void* src, int numUniforms) { in CopyUniforms() argument
155 std::memcpy(dst, src, numUniforms * sizeof(MemType)); in CopyUniforms()
164 while (numUniforms-- > 0) { in CopyUniforms()
DContextUtils.cpp276 std::string emit_MSL_uniform_struct(const Uniform *uniforms, int numUniforms) { in emit_MSL_uniform_struct() argument
280 for (int i = 0; i < numUniforms; ++i) { in emit_MSL_uniform_struct()
/third_party/skia/src/gpu/gl/
DGrGLUniformHandler.h30 int numUniforms() const override { in numUniforms() function
/third_party/vk-gl-cts/modules/glshared/
DglsRandomUniformBlockCase.cpp89 int numUniforms = rnd.getInt(1, m_maxBlockMembers); in generateBlock() local
117 for (int ndx = 0; ndx < numUniforms; ndx++) in generateBlock()
DglsUniformBlockCase.cpp1791 int numUniforms = (int)layout.uniforms.size(); in checkLayoutIndices() local
1796 for (int uniformNdx = 0; uniformNdx < numUniforms; uniformNdx++) in checkLayoutIndices()
1814 if (!deInBounds32(*uniformIter, 0, numUniforms)) in checkLayoutIndices()
1828 int numUniforms = (int)layout.uniforms.size(); in checkLayoutBounds() local
1831 for (int uniformNdx = 0; uniformNdx < numUniforms; uniformNdx++) in checkLayoutBounds()
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
Des31cSeparateShaderObjsTests.cpp1657 int numUniforms; in setAndCompareMatrixUniforms() local
1676 numUniforms = 0; in setAndCompareMatrixUniforms()
1687 locationA[numUniforms] = gl.getUniformLocation(programA, name.c_str()); in setAndCompareMatrixUniforms()
1688 locationB[numUniforms] = gl.getUniformLocation(programB, name.c_str()); in setAndCompareMatrixUniforms()
1689 numUniforms++; in setAndCompareMatrixUniforms()
1695 locationA[numUniforms] = gl.getUniformLocation(programA, name.c_str()); in setAndCompareMatrixUniforms()
1696 locationB[numUniforms] = gl.getUniformLocation(programB, name.c_str()); in setAndCompareMatrixUniforms()
1697 numUniforms++; in setAndCompareMatrixUniforms()
1702 DE_ASSERT((numUniforms == 6) || (numUniforms == 12)); in setAndCompareMatrixUniforms()
1739 for (i = 0; i < numUniforms; i++) in setAndCompareMatrixUniforms()
[all …]
/third_party/skia/src/gpu/mtl/
DGrMtlUniformHandler.h45 int numUniforms() const override { in numUniforms() function
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ubo/
DvktRandomUniformBlockCase.cpp108 int numUniforms = rnd.getInt(1, m_maxBlockMembers); in generateBlock() local
160 for (int ndx = 0; ndx < numUniforms; ndx++) in generateBlock()
/third_party/skia/src/gpu/vk/
DGrVkUniformHandler.h80 int numUniforms() const override { in numUniforms() function
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DProgram.cpp401 size_t numUniforms = uniforms.size(); in getUniformIndex() local
402 for(GLuint index = 0; index < numUniforms; index++) in getUniformIndex()
1081 size_t numUniforms = uniforms.size(); in dirtyAllUniforms() local
1082 for(size_t index = 0; index < numUniforms; index++) in dirtyAllUniforms()
1091 GLint numUniforms = static_cast<GLint>(uniformIndex.size()); in applyUniforms() local
1092 for(GLint location = 0; location < numUniforms; location++) in applyUniforms()
2848 size_t numUniforms = uniforms.size(); in getActiveUniformMaxLength() local
2849 for(size_t uniformIndex = 0; uniformIndex < numUniforms; uniformIndex++) in getActiveUniformMaxLength()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcUniformBlockCase.cpp1745 int numUniforms = (int)layout.uniforms.size(); in checkLayoutIndices() local
1750 for (int uniformNdx = 0; uniformNdx < numUniforms; uniformNdx++) in checkLayoutIndices()
1770 if (!deInBounds32(*uniformIter, 0, numUniforms)) in checkLayoutIndices()
1785 int numUniforms = (int)layout.uniforms.size(); in checkLayoutBounds() local
1788 for (int uniformNdx = 0; uniformNdx < numUniforms; uniformNdx++) in checkLayoutBounds()
DglcUniformBlockTests.cpp136 int numUniforms = rnd.getInt(1, m_maxBlockMembers); in generateBlock() local
165 for (int ndx = 0; ndx < numUniforms; ndx++) in generateBlock()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fUniformApiTests.cpp453 const int numUniforms = rnd.getInt(1, 5); in random() local
457 for (int i = 0; i < numUniforms; i++) in random()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fUniformApiTests.cpp519 const int numUniforms = rnd.getInt(1, 5); in random() local
523 for (int i = 0; i < numUniforms; i++) in random()