Home
last modified time | relevance | path

Searched refs:linked (Results 1 - 25 of 58) sorted by relevance

123

/third_party/mesa3d/src/compiler/glsl/
H A Dlink_functions.cpp41 call_link_visitor(gl_shader_program *prog, gl_linked_shader *linked, in call_link_visitor() argument
48 this->linked = linked; in call_link_visitor()
81 * final linked shader. If it does, use it as the target of the call. in visit_enter()
84 find_matching_signature(name, &callee->parameters, linked->symbols); in visit_enter()
91 * linked. If it's not found there, return an error. in visit_enter()
109 /* Find the prototype information in the linked shader. Generate any in visit_enter()
112 ir_function *f = linked->symbols->get_function(name); in visit_enter()
114 f = new(linked) ir_function(name); in visit_enter()
116 /* Add the new function to the linked I in visit_enter()
300 gl_linked_shader *linked; global() member in __anon7176::call_link_visitor
[all...]
H A Dgl_nir_link_uniform_blocks.c182 /* We first check if new_block was already linked */ in link_cross_validate_uniform_block()
591 struct gl_linked_shader *const linked = prog->_LinkedShaders[stage]; in gl_nir_link_uniform_blocks() local
597 if (!linked) in gl_nir_link_uniform_blocks()
600 link_linked_shader_uniform_blocks(mem_ctx, prog, linked, in gl_nir_link_uniform_blocks()
604 link_linked_shader_uniform_blocks(mem_ctx, prog, linked, in gl_nir_link_uniform_blocks()
614 /* Copy ubo blocks to linked shader list */ in gl_nir_link_uniform_blocks()
615 linked->Program->sh.UniformBlocks = in gl_nir_link_uniform_blocks()
616 ralloc_array(linked, struct gl_uniform_block *, num_ubo_blocks); in gl_nir_link_uniform_blocks()
617 ralloc_steal(linked, ubo_blocks); in gl_nir_link_uniform_blocks()
618 linked in gl_nir_link_uniform_blocks()
[all...]
H A Dlinker.cpp28 * Given a set of shaders that are to be linked to generate a final program,
32 * type. All shaders of a particular type (e.g., vertex shaders) are linked
53 * In the final stage individual shader executables are linked to create a
792 * In addition, set the type of the linked variable to the in validate_intrastage_arrays()
1324 * linked shader.
1763 * the value for the linked shader.
1798 * and propagates them to the linked TCS and linked shader program.
1855 * to the linked TES and linked shade
2407 gl_linked_shader *linked = rzalloc(NULL, struct gl_linked_shader); link_intrastage_shaders() local
[all...]
H A Dopt_array_splitting.cpp104 bool get_split_list(exec_list *instructions, bool linked);
272 bool linked) in get_split_list()
276 /* If the shaders aren't linked yet, we can't mess with global in get_split_list()
279 if (!linked) { in get_split_list()
440 optimize_split_arrays(exec_list *instructions, bool linked) in optimize_split_arrays() argument
443 if (!refs.get_split_list(instructions, linked)) in optimize_split_arrays()
271 get_split_list(exec_list *instructions, bool linked) get_split_list() argument
H A Dir_optimization.h81 bool do_common_optimization(exec_list *ir, bool linked,
120 bool optimize_split_arrays(exec_list *instructions, bool linked);
H A Dserialize.cpp1149 gl_linked_shader *linked) in read_shader_metadata()
1227 struct gl_linked_shader *linked = rzalloc(NULL, struct gl_linked_shader); in create_linked_shader_and_program() local
1228 linked->Stage = stage; in create_linked_shader_and_program()
1232 linked->Program = glprog; in create_linked_shader_and_program()
1234 read_shader_metadata(metadata, glprog, linked); in create_linked_shader_and_program()
1248 _mesa_reference_program(ctx, &linked->Program, glprog); in create_linked_shader_and_program()
1249 prog->_LinkedShaders[stage] = linked; in create_linked_shader_and_program()
1147 read_shader_metadata(struct blob_reader *metadata, struct gl_program *glprog, gl_linked_shader *linked) read_shader_metadata() argument
H A Dglsl_parser_extras.cpp2112 * and reduce later work if the same shader is linked multiple times.
2346 * \param linked Is the shader linked? This enables
2354 * \c linked is \c true.
2362 do_common_optimization(exec_list *ir, bool linked,
2385 if (linked) {
2395 if (options->OptimizeForAOS && !linked)
2398 if (linked)
2405 if (linked)
2427 bool array_split = optimize_split_arrays(ir, linked);
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DBindUniformLocationTest.cpp163 GLint linked = 0; in TEST_P() local
164 glGetProgramiv(mProgram, GL_LINK_STATUS, &linked); in TEST_P()
165 ASSERT_EQ(0, linked); in TEST_P()
170 linked = 0; in TEST_P()
171 glGetProgramiv(mProgram, GL_LINK_STATUS, &linked); in TEST_P()
172 EXPECT_EQ(1, linked); in TEST_P()
477 GLint linked = GL_FALSE; in TEST_P() local
478 glGetProgramiv(mProgram, GL_LINK_STATUS, &linked); in TEST_P()
479 ASSERT_GL_TRUE(linked); in TEST_P()
508 GLint linked in TEST_P() local
541 GLint linked = GL_FALSE; TEST_P() local
565 GLint linked = GL_FALSE; TEST_P() local
[all...]
H A DBlendFuncExtendedTest.cpp255 GLint linked = 0; in LinkProgram() local
256 glGetProgramiv(mProgram, GL_LINK_STATUS, &linked); in LinkProgram()
257 EXPECT_NE(0, linked); in LinkProgram()
/third_party/mesa3d/src/mesa/main/
H A Dglspirv.c147 struct gl_linked_shader *linked = rzalloc(NULL, struct gl_linked_shader); in _mesa_spirv_link_shaders() local
148 linked->Stage = shader_type; in _mesa_spirv_link_shaders()
150 /* Create program and attach it to the linked shader */ in _mesa_spirv_link_shaders()
155 _mesa_delete_linked_shader(ctx, linked); in _mesa_spirv_link_shaders()
163 linked->Program = gl_prog; in _mesa_spirv_link_shaders()
165 /* Reference the SPIR-V data from shader to the linked shader */ in _mesa_spirv_link_shaders()
166 _mesa_shader_spirv_data_reference(&linked->spirv_data, in _mesa_spirv_link_shaders()
169 prog->_LinkedShaders[shader_type] = linked; in _mesa_spirv_link_shaders()
180 /* Some shaders have to be linked with some other shaders present. */ in _mesa_spirv_link_shaders()
196 "%s shader must be linked wit in _mesa_spirv_link_shaders()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shader_object/
H A DvktShaderObjectBinaryTests.cpp57 bool linked; member
97 vk::Move<vk::VkShaderEXT> createShader (const vk::DeviceInterface& vk, const vk::BinaryCollection& binaries, const vk::VkDevice device, vk::VkPhysicalDeviceFeatures features, vk::VkDescriptorSetLayout descriptorSetLayout, bool linked, vk::VkShaderStageFlagBits stage) in createShader() argument
101 if (!linked) in createShader()
281 vk::Move<vk::VkShaderEXT> shader = createShader(vk, binaries, device, m_context.getDeviceFeatures(), layout, m_params.linked, m_params.stage); in iterate()
300 vk::Move<vk::VkShaderEXT> otherShader = createShader(vk, binaries, device, m_context.getDeviceFeatures(), layout, m_params.linked, m_params.stage); in iterate()
358 vk::Move<vk::VkShaderEXT> otherShader = createShader(vk, binaries, *otherDevice, features2.features, layout, m_params.linked, m_params.stage); in iterate()
560 ShaderObjectDeviceFeaturesBinaryInstance (Context& context, const bool linked, const vk::VkShaderStageFlagBits stage, const deUint32 index) in ShaderObjectDeviceFeaturesBinaryInstance() argument
562 , m_linked (linked) in ShaderObjectDeviceFeaturesBinaryInstance()
1003 ShaderObjectDeviceFeaturesBinaryCase (tcu::TestContext& testCtx, const std::string& name, const bool linked, const vk::VkShaderStageFlagBits stage, const deUint32 index) in ShaderObjectDeviceFeaturesBinaryCase() argument
1005 , m_linked (linked) in ShaderObjectDeviceFeaturesBinaryCase()
[all...]
/third_party/alsa-lib/src/pcm/
H A Dpcm_multi.c48 snd_pcm_t *linked; member
319 * slave #1-(N-1) = trigger slaves, linked is set to #0
326 if (multi->slaves[i].linked) in reset_links()
327 snd_pcm_unlink(multi->slaves[i].linked); in reset_links()
328 multi->slaves[0].linked = NULL; in reset_links()
332 multi->slaves[i].linked = multi->slaves[0].pcm; in reset_links()
367 if (!multi->slaves[i].linked) in snd_pcm_multi_hw_free()
372 multi->slaves[i].linked = NULL; in snd_pcm_multi_hw_free()
507 /* We call prepare to each slave even if it's linked. in snd_pcm_multi_prepare()
533 /* when the first slave PCM is linked, i
[all...]
/third_party/pulseaudio/src/pulsecore/
H A Dcard.c100 if (c->card->linked) in pa_card_profile_set_available()
251 card->linked = true; in pa_card_put()
267 if (c->linked) { in pa_card_free()
342 if (c->linked) { in card_set_profile_is_sticky()
377 if (c->linked && (r = c->set_profile(c, profile)) < 0) in pa_card_set_profile()
387 if (c->linked) { in pa_card_set_profile()
H A Dcard.h90 bool linked; member
/third_party/skia/src/gpu/gl/builders/
H A DGrGLProgramBuilder.cpp502 GrGLint linked = GR_GL_INIT_ZERO; in checkLinkStatus() local
503 GL_CALL(GetProgramiv(programID, GR_GL_LINK_STATUS, &linked)); in checkLinkStatus()
504 if (!linked) { in checkLinkStatus()
527 return SkToBool(linked); in checkLinkStatus()
629 GrGLint linked = GR_GL_INIT_ZERO; in PrecompileProgram() local
630 GR_GL_CALL(glGpu->glInterface(), GetProgramiv(programID, GR_GL_LINK_STATUS, &linked)); in PrecompileProgram()
631 if (!linked) { in PrecompileProgram()
/third_party/mesa3d/src/gallium/drivers/radeonsi/glsl_tests/
H A Damdgcn_glslc.c277 GLint linked; in main() local
278 glGetProgramiv(prog, GL_LINK_STATUS, &linked); in main()
280 if (!linked) { in main()
/third_party/glslang/Test/
H A Druntests66 run -l -q -C reflection.linked.vert reflection.linked.frag > $TARGETDIR/reflection.linked.out
67 diff -b $BASEDIR/reflection.linked.out $TARGETDIR/reflection.linked.out || HASERROR=1
68 run -l -q -C --reflect-strict-array-suffix --reflect-basic-array-suffix --reflect-intermediate-io --reflect-separate-buffers --reflect-all-block-variables --reflect-unwrap-io-blocks --reflect-all-io-variables --reflect-shared-std140-ubo --reflect-shared-std140-ssbo reflection.linked.vert reflection.linked.frag > $TARGETDIR/reflection.linked.options.out
69 diff -b $BASEDIR/reflection.linked.options.out $TARGETDIR/reflection.linked
[all...]
/third_party/gn/src/gn/
H A Dvariables.cc461 linked together in any output.
470 source sets or static libraries that would always be linked together in a
606 of the build rather than something that is linked and distributed. This
945 themselves are never linked into other complete static libraries. All
950 GN treats non-complete static libraries as source sets when they are linked
1075 "data_deps: [label list] Non-linked dependencies.";
1077 R"(data_deps: Non-linked dependencies.
1081 Specifies dependencies of a target that are not actually linked into the
1174 "deps: [label list] Private linked dependencies.";
1176 R"(deps: Private linked dependencie
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
H A Des31cSeparateShaderObjsTests.cpp96 * * Test with program that isn't linked succesfully. Expect INVALID_OPERATION
111 * * Test with nonexistent/deleted/unsuccesfully linked program. Expect
219 * * Test with unsuccesfully linked program. Expect INVALID_OPERATION GL error.
299 * * Test that unsuccesfully linked program cannot be made part of a program
539 int linked = GL_FALSE; in checkCSProg() local
543 gl.getProgramiv(program, GL_LINK_STATUS, &linked); in checkCSProg()
546 return (program != 0) && (separable == expectedSep) && (linked == expectedLink); in checkCSProg()
809 // Program that is not successfully linked in iterate()
1052 // it was linked. So in the tests below, the queries in iterate()
1054 // program has no linked binar in iterate()
2021 int linked = GL_FALSE; checkCSProg() local
2641 int linked = GL_FALSE; checkCSProg() local
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/gbm/
H A DDisplayGbm.cpp611 GLint linked; in drawWithTexture() local
612 gl->getProgramiv(mProgram, GL_LINK_STATUS, &linked); in drawWithTexture()
613 if (!linked) in drawWithTexture()
/third_party/libunwind/libunwind/doc/
H A Dunw_backtrace.tex32 calling \Func{backtrace}() is linked against \Prog{libunwind}, it may end up
/third_party/node/lib/internal/main/
H A Dprint_help.js73 hasSmallICU ? '' : ' (will extend linked-in data)' }],
/third_party/alsa-utils/alsaloop/
H A Dalsaloop.h146 unsigned int linked:1; /* linked streams */ member
/third_party/node/deps/v8/src/baseline/
H A Dbaseline-compiler.h181 base::ThreadedList<ThreadedLabel> linked; member
/third_party/glslang/glslang/MachineIndependent/
H A DShaderLang.cpp1907 TProgram::TProgram() : reflection(nullptr), linked(false) in TProgram()
1937 if (linked) in link()
1939 linked = true; in link()
2105 if (! linked || reflection != nullptr) in buildReflection()
2111 // if we're reflecting intermediate I/O, determine the first and last stage linked and use those as the in buildReflection()
2161 if (! linked) in mapIO()

Completed in 46 milliseconds

123