Home
last modified time | relevance | path

Searched refs:varyings (Results 1 – 25 of 183) sorted by relevance

12345678

/external/angle/src/libANGLE/
DVaryingPacking_unittest.cpp65 std::vector<sh::ShaderVariable> varyings; in MakeVaryings() local
85 varyings.push_back(varying); in MakeVaryings()
88 return varyings; in MakeVaryings()
91 void AddVaryings(std::vector<sh::ShaderVariable> *varyings, in AddVaryings() argument
97 varyings->insert(varyings->end(), newVaryings.begin(), newVaryings.end()); in AddVaryings()
121 std::vector<sh::ShaderVariable> varyings = MakeVaryings(GL_FLOAT_VEC3, kMaxVaryings, 0); in TEST_P() local
122 AddVaryings(&varyings, GL_FLOAT_VEC2, 1, 0); in TEST_P()
123 ASSERT_FALSE(packVaryings(kMaxVaryings, varyings)); in TEST_P()
148 std::vector<sh::ShaderVariable> varyings = MakeVaryings(GL_FLOAT_VEC3, kMaxVaryings / 2, 2); in TEST_P() local
149 AddVaryings(&varyings, GL_FLOAT, kMaxVaryings / 2, 2); in TEST_P()
[all …]
/external/deqp/modules/gles31/functional/
Des31fSeparateShaderTests.cpp369 vector<VariableDeclaration> varyingCompatVtxOutputs (const VaryingInterface& varyings) in varyingCompatVtxOutputs() argument
371 vector<VariableDeclaration> outputs = varyings.vtxOutputs; in varyingCompatVtxOutputs()
375 outputs[i].interpolation = varyings.frgInputs[i].interpolation; in varyingCompatVtxOutputs()
376 outputs[i].name = varyings.frgInputs[i].name; in varyingCompatVtxOutputs()
692 VaryingParams varyings; member
705 paramCode = deUint32Hash(paramCode) + params.varyings.count; in paramsSeed()
706 paramCode = deUint32Hash(paramCode) + params.varyings.type; in paramsSeed()
707 paramCode = deUint32Hash(paramCode) + params.varyings.binding; in paramsSeed()
708 paramCode = deUint32Hash(paramCode) + params.varyings.vtxInterp; in paramsSeed()
709 paramCode = deUint32Hash(paramCode) + params.varyings.frgInterp; in paramsSeed()
[all …]
/external/deqp/framework/referencerenderer/
DrrShadingContext.hpp42 …const GenericVec4* varyings[3]; //!< Vertex shader outputs. Pointer will be NULL if there is no… member
71 return context.varyings[0][varyingLoc].get<T>(); in readPointVarying()
77 return packet.barycentric[0][fragNdx] * context.varyings[0][varyingLoc].get<T>() in readLineVarying()
78 + packet.barycentric[1][fragNdx] * context.varyings[1][varyingLoc].get<T>(); in readLineVarying()
84 return packet.barycentric[0][fragNdx] * context.varyings[0][varyingLoc].get<T>() in readTriangleVarying()
85 + packet.barycentric[1][fragNdx] * context.varyings[1][varyingLoc].get<T>() in readTriangleVarying()
86 + packet.barycentric[2][fragNdx] * context.varyings[2][varyingLoc].get<T>(); in readTriangleVarying()
92 …if (context.varyings[1] == DE_NULL) return readPointVarying<T> (packet, context, varyingLoc, frag… in readVarying()
93 …if (context.varyings[2] == DE_NULL) return readLineVarying<T> (packet, context, varyingLoc, fragN… in readVarying()
DrrShadingContext.cpp37 varyings[0] = varying0; in FragmentShadingContext()
38 varyings[1] = varying1; in FragmentShadingContext()
39 varyings[2] = varying2; in FragmentShadingContext()
DrrPrimitivePacket.cpp38 …itVertex (const tcu::Vec4& position, float pointSize, const GenericVec4* varyings, int primitiveID) in EmitVertex() argument
55 packet->outputs[ndx] = varyings[ndx]; in EmitVertex()
/external/mesa3d/src/compiler/nir/
Dnir_gather_xfb_info.c30 nir_xfb_varyings_info *varyings, in add_var_xfb_varying() argument
35 if (varyings == NULL) in add_var_xfb_varying()
38 nir_xfb_varying_info *varying = &varyings->varyings[varyings->varying_count++]; in add_var_xfb_varying()
67 nir_xfb_varyings_info *varyings, in add_var_xfb_outputs() argument
86 add_var_xfb_varying(xfb, varyings, buffer, *offset, type); in add_var_xfb_outputs()
91 add_var_xfb_outputs(xfb, varyings, var, buffer, location, offset, in add_var_xfb_outputs()
97 add_var_xfb_outputs(xfb, varyings, var, buffer, location, offset, in add_var_xfb_outputs()
141 add_var_xfb_varying(xfb, varyings, buffer, *offset, type); in add_var_xfb_outputs()
270 qsort(varyings_info->varyings, varyings_info->varying_count, in nir_gather_xfb_info_with_varyings()
271 sizeof(varyings_info->varyings[0]), in nir_gather_xfb_info_with_varyings()
Dnir_lower_io_arrays_to_elements.c114 struct hash_table *varyings) in lower_array() argument
131 get_array_elements(varyings, var, b->shader->info.stage); in lower_array()
275 struct hash_table *varyings, in lower_io_arrays_to_elements() argument
354 lower_array(&b, intr, var, varyings); in lower_io_arrays_to_elements()
/external/angle/src/tests/compiler_tests/
DShaderVariable_test.cpp295 const std::vector<sh::ShaderVariable> *varyings = sh::GetOutputVaryings(compiler); in TEST() local
296 for (const sh::ShaderVariable &varying : *varyings) in TEST()
304 varyings = sh::GetOutputVaryings(compiler); in TEST()
305 for (const sh::ShaderVariable &varying : *varyings) in TEST()
337 const std::vector<sh::ShaderVariable> *varyings = sh::GetOutputVaryings(compiler); in TEST() local
338 for (const sh::ShaderVariable &varying : *varyings) in TEST()
346 varyings = sh::GetOutputVaryings(compiler); in TEST()
347 for (const sh::ShaderVariable &varying : *varyings) in TEST()
383 const std::vector<sh::ShaderVariable> *varyings = sh::GetOutputVaryings(compiler); in TEST() local
384 for (const sh::ShaderVariable &varying : *varyings) in TEST()
[all …]
DCollectVariables_test.cpp547 const std::vector<ShaderVariable> &varyings = mTranslator->getOutputVaryings(); in TEST_F() local
548 ASSERT_EQ(2u, varyings.size()); in TEST_F()
550 const ShaderVariable *varying = &varyings[0]; in TEST_F()
554 varying = &varyings[1]; in TEST_F()
1014 const auto &varyings = mTranslator->getOutputVaryings(); in TEST_F() local
1015 ASSERT_EQ(1u, varyings.size()); in TEST_F()
1016 const ShaderVariable *varying = &varyings[0]; in TEST_F()
1592 const std::vector<ShaderVariable> &varyings = mTranslator->getInputVaryings(); in TEST_F() local
1593 ASSERT_EQ(1u, varyings.size()); in TEST_F()
1595 const ShaderVariable *varying = &varyings[0]; in TEST_F()
[all …]
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_shader.c154 link.varyings[idx].reg, idx + 1, in etna_link_shaders()
155 link.varyings[idx].num_components, "xyzw", in etna_link_shaders()
156 link.varyings[idx].use[0], link.varyings[idx].use[1], in etna_link_shaders()
157 link.varyings[idx].use[2], link.varyings[idx].use[3], in etna_link_shaders()
158 link.varyings[idx].pa_attributes); in etna_link_shaders()
163 if (link.num_varyings > 0 && link.varyings[link.num_varyings - 1].num_components <= 2) in etna_link_shaders()
171 cs->PA_SHADER_ATTRIBUTES[idx] = link.varyings[idx].pa_attributes; in etna_link_shaders()
181 etna_bitarray_set(vs_output, 8, varid++, link.varyings[idx].reg); in etna_link_shaders()
230 const struct etna_varying *varying = &link.varyings[idx]; in etna_link_shaders()
/external/deqp/doc/testspecs/GLES3/
Dfunctional.shaders.linkage.txt29 + Float, float-vector and matrix varyings
30 + Integer and int-vector varyings
31 + Flat and centroid varyings
36 + Interpolation rules for varyings
/external/skia/src/gpu/mtl/
DGrMtlVaryingHandler.mm19 // Metal only allows scalars (including bool and char) and vectors as varyings
29 // 32 varyings and less than 60 components across all varyings. If we hit this assert, we can
/external/mesa3d/src/mesa/main/
Dtransformfeedback.c872 const GLchar *const *varyings, GLenum bufferMode) in transform_feedback_varyings() argument
893 shProg->TransformFeedback.VaryingNames[i] = strdup(varyings[i]); in transform_feedback_varyings()
907 const GLchar *const *varyings, in _mesa_TransformFeedbackVaryings_no_error() argument
913 transform_feedback_varyings(ctx, shProg, count, varyings, bufferMode); in _mesa_TransformFeedbackVaryings_no_error()
918 const GLchar * const *varyings, in _mesa_TransformFeedbackVaryings() argument
964 if (strcmp(varyings[i], "gl_NextBuffer") == 0) in _mesa_TransformFeedbackVaryings()
976 if (strcmp(varyings[i], "gl_NextBuffer") == 0 || in _mesa_TransformFeedbackVaryings()
977 strcmp(varyings[i], "gl_SkipComponents1") == 0 || in _mesa_TransformFeedbackVaryings()
978 strcmp(varyings[i], "gl_SkipComponents2") == 0 || in _mesa_TransformFeedbackVaryings()
979 strcmp(varyings[i], "gl_SkipComponents3") == 0 || in _mesa_TransformFeedbackVaryings()
[all …]
Dtransformfeedback.h91 const GLchar *const *varyings,
96 const GLchar * const *varyings,
/external/skia/src/gpu/ops/
DGrFillRRectOp.cpp515 GrGLSLVaryingHandler* varyings = args.fVaryingHandler; in onEmitCode() local
516 varyings->emitAttributes(proc); in onEmitCode()
517 varyings->addPassThroughAttribute(*proc.fColorAttrib, args.fOutputColor, in onEmitCode()
584 this->emitTransforms(v, varyings, args.fUniformHandler, localCoord, in onEmitCode()
595 varyings->addVarying("arccoord", &arcCoord); in onEmitCode()
658 GrGLSLVaryingHandler* varyings = args.fVaryingHandler; in onEmitCode() local
659 varyings->emitAttributes(proc); in onEmitCode()
660 varyings->addPassThroughAttribute(*proc.fColorAttrib, args.fOutputColor, in onEmitCode()
685 this->emitTransforms(v, varyings, args.fUniformHandler, localCoord, in onEmitCode()
701 varyings->addVarying("arccoord", &arcCoord); in onEmitCode()
/external/skqp/gm/
Dfwidth_squircle.cpp67 auto* varyings = args.fVaryingHandler; in onEmitCode() local
68 varyings->emitAttributes(proc); in onEmitCode()
71 varyings->addVarying("bboxcoord", &squircleCoord); in onEmitCode()
/external/skqp/src/gpu/mtl/
DGrMtlVaryingHandler.mm14 // Metal only allows scalars (including bool and char) and vectors as varyings
23 // 15 varyings because in the worst case scenario, they are all vec4s (15 * 4 = 60). If we hit
/external/deqp/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderAdjacency.cpp294 const char* varyings[] = { "out_adjacent_geometry", "out_geometry" }; in initTest() local
296 gl.transformFeedbackVaryings(m_po_id, 2, varyings, GL_SEPARATE_ATTRIBS); in initTest()
300 const char* varyings[] = { "gl_Position" }; in initTest() local
302 gl.transformFeedbackVaryings(m_po_id, 1, varyings, GL_SEPARATE_ATTRIBS); in initTest()
/external/skia/gm/
Dfwidth_squircle.cpp103 auto* varyings = args.fVaryingHandler; in onEmitCode() local
104 varyings->emitAttributes(proc); in onEmitCode()
107 varyings->addVarying("bboxcoord", &squircleCoord); in onEmitCode()
/external/mesa3d/src/freedreno/decode/
Dpgmdump.c239 struct varying *varyings[32]; member
379 dump_varying(state->varyings[i]); in dump_short_summary()
777 state->varyings[i] = next_sect(state, &sect_size); in dump_program()
782 while (!valid_type(state->varyings[i]->type_info)) { in dump_program()
783 dump_hex_ascii(state->varyings[i], sect_size, 0); in dump_program()
784 state->varyings[i] = next_sect(state, &sect_size); in dump_program()
787 clean_ascii(state->varyings[i]->name, sect_size - 16); in dump_program()
790 dump_varying(state->varyings[i]); in dump_program()
791 dump_hex((char *)state->varyings[i], sect_size); in dump_program()
/external/angle/src/libANGLE/renderer/vulkan/doc/
DTransformFeedbackViaExtension.md43 we add the below layout qualifier for built-in XFB varyings.
55 And for user xfb varyings.
65 If more than 2 built-in varyings are used in the shader, and only one varying is declared as a
/external/deqp/framework/opengl/
DgluShaderProgram.hpp130 void transformFeedbackVaryings (int count, const char* const* varyings, deUint32 bufferMode);
358 ProgramSources& operator<< (const TransformFeedbackVaryings<Iterator>& varyings);
453 …ne ProgramSources& ProgramSources::operator<< (const TransformFeedbackVaryings<Iterator>& varyings) in operator <<() argument
455 for (Iterator cur = varyings.begin; cur != varyings.end; ++cur) in operator <<()
/external/skqp/src/gpu/ops/
DGrAAFillRRectOp.cpp303 GrGLSLVaryingHandler* varyings = args.fVaryingHandler; in onEmitCode() local
304 varyings->emitAttributes(proc); in onEmitCode()
305 varyings->addPassThroughAttribute(proc.kInstanceAttribs[kColorAttribIdx], args.fOutputColor, in onEmitCode()
372 this->emitTransforms(v, varyings, args.fUniformHandler, localCoord, in onEmitCode()
382 varyings->addVarying("arccoord", &arcCoord); in onEmitCode()
/external/deqp/doc/testspecs/GLES31/
Dfunctional.separate_shader.txt73 no varyings. The variables in distinct programs may have the same name.
87 one or more varyings. The values of different varyings are rendered as
/external/mesa3d/src/gallium/drivers/v3d/
Dv3dx_emit.c320 uint32_t varyings, in emit_flat_shade_flags() argument
326 flags.flat_shade_flags_for_varyings_v024 = varyings; in emit_flat_shade_flags()
338 uint32_t varyings, in emit_noperspective_flags() argument
344 flags.non_perspective_flags_for_varyings_v024 = varyings; in emit_noperspective_flags()
355 uint32_t varyings, in emit_centroid_flags() argument
361 flags.centroid_flags_for_varyings_v024 = varyings; in emit_centroid_flags()

12345678