Home
last modified time | relevance | path

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

12345

/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()
DrrPrimitivePacket.hpp58 …void EmitVertex (const tcu::Vec4& position, float pointSize, const GenericVec4* varyings, in…
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_shader.c94 link.varyings[idx].reg, idx + 1, in etna_link_shaders()
95 link.varyings[idx].num_components, "xyzw", in etna_link_shaders()
96 link.varyings[idx].use[0], link.varyings[idx].use[1], in etna_link_shaders()
97 link.varyings[idx].use[2], link.varyings[idx].use[3], in etna_link_shaders()
98 link.varyings[idx].pa_attributes); in etna_link_shaders()
103 if (link.num_varyings > 0 && link.varyings[link.num_varyings - 1].num_components <= 2) in etna_link_shaders()
111 cs->PA_SHADER_ATTRIBUTES[idx] = link.varyings[idx].pa_attributes; in etna_link_shaders()
121 etna_bitarray_set(vs_output, 8, varid++, link.varyings[idx].reg); in etna_link_shaders()
167 const struct etna_varying *varying = &link.varyings[idx]; in etna_link_shaders()
Detnaviv_compiler.h120 struct etna_varying varyings[ETNA_NUM_INPUTS]; member
/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/mesa3d/src/mesa/main/
Dtransformfeedback.c858 const GLchar *const *varyings, GLenum bufferMode) in transform_feedback_varyings() argument
879 shProg->TransformFeedback.VaryingNames[i] = strdup(varyings[i]); in transform_feedback_varyings()
893 const GLchar *const *varyings, in _mesa_TransformFeedbackVaryings_no_error() argument
899 transform_feedback_varyings(ctx, shProg, count, varyings, bufferMode); in _mesa_TransformFeedbackVaryings_no_error()
904 const GLchar * const *varyings, in _mesa_TransformFeedbackVaryings() argument
950 if (strcmp(varyings[i], "gl_NextBuffer") == 0) in _mesa_TransformFeedbackVaryings()
962 if (strcmp(varyings[i], "gl_NextBuffer") == 0 || in _mesa_TransformFeedbackVaryings()
963 strcmp(varyings[i], "gl_SkipComponents1") == 0 || in _mesa_TransformFeedbackVaryings()
964 strcmp(varyings[i], "gl_SkipComponents2") == 0 || in _mesa_TransformFeedbackVaryings()
965 strcmp(varyings[i], "gl_SkipComponents3") == 0 || in _mesa_TransformFeedbackVaryings()
[all …]
Dtransformfeedback.h91 const GLchar *const *varyings,
96 const GLchar * const *varyings,
/external/skia/gm/
Dfwidth_squircle.cpp64 auto* varyings = args.fVaryingHandler; in onEmitCode() local
65 varyings->emitAttributes(proc); in onEmitCode()
68 varyings->addVarying("bboxcoord", &squircleCoord); 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/deqp/framework/opengl/
DgluShaderProgram.hpp130 void transformFeedbackVaryings (int count, const char* const* varyings, deUint32 bufferMode);
328 ProgramSources& operator<< (const TransformFeedbackVaryings<Iterator>& varyings);
423 …ne ProgramSources& ProgramSources::operator<< (const TransformFeedbackVaryings<Iterator>& varyings) in operator <<() argument
425 for (Iterator cur = varyings.begin; cur != varyings.end; ++cur) in operator <<()
/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/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/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/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/skia/src/gpu/ops/
DGrAAFillRRectOp.cpp318 GrGLSLVaryingHandler* varyings = args.fVaryingHandler; in onEmitCode() local
319 varyings->emitAttributes(proc); in onEmitCode()
320 varyings->addPassThroughAttribute(proc.fInColor, args.fOutputColor, in onEmitCode()
387 this->emitTransforms(v, varyings, args.fUniformHandler, localCoord, in onEmitCode()
397 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/compiler/nir/
Dnir_lower_io_arrays_to_elements.c128 struct hash_table *varyings) in lower_array() argument
133 get_array_elements(varyings, var, b->shader->info.stage); in lower_array()
267 struct hash_table *varyings, in lower_io_arrays_to_elements() argument
337 lower_array(&b, intr, var, varyings); in lower_io_arrays_to_elements()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_tcs.c84 uint64_t varyings = nir->info.inputs_read; in create_passthrough_tcs() local
86 while (varyings != 0) { in create_passthrough_tcs()
87 const int varying = ffsll(varyings) - 1; in create_passthrough_tcs()
108 varyings &= ~BITFIELD64_BIT(varying); in create_passthrough_tcs()
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderTessellation.cpp578 const char* varyings[] = { "te_tc_primitive_id", "te_primitive_id" }; in initRun() local
579 const unsigned int n_varyings = sizeof(varyings) / sizeof(varyings[0]); in initRun()
581 gl.transformFeedbackVaryings(run.po_id, n_varyings, varyings, GL_INTERLEAVED_ATTRIBS); in initRun()
1190 const char* varyings[] = { "te_tc_invocation_id", "te_tc_patch_vertices_in", "te_tc_primitive_id", in initRun() local
1192 const unsigned int n_varyings = sizeof(varyings) / sizeof(varyings[0]); in initRun()
1194 gl.transformFeedbackVaryings(run.po_id, n_varyings, varyings, GL_INTERLEAVED_ATTRIBS); in initRun()
1951 const char* varyings[] = { "result_uvw" }; in initTestDescriptor() local
1952 const unsigned int n_varyings = sizeof(varyings) / sizeof(varyings[0]); in initTestDescriptor()
1954 gl.transformFeedbackVaryings(test.po_id, n_varyings, varyings, GL_INTERLEAVED_ATTRIBS); in initTestDescriptor()
DesextcTessellationShaderXFB.hpp114 unsigned int n_varyings, const char* const* varyings, bool should_succeed);
DesextcTessellationShaderTCTE.cpp669 const char** varyings = DE_NULL; in executeTestRun() local
685 varyings = gs_point_size_varyings; in executeTestRun()
703 varyings = gs_non_point_size_varyings; in executeTestRun()
720 varyings = non_gs_point_size_varyings; in executeTestRun()
740 varyings = non_gs_non_point_size_varyings; in executeTestRun()
755 gl.transformFeedbackVaryings(run.po_id, n_varyings, varyings, GL_INTERLEAVED_ATTRIBS); in executeTestRun()
3482 const char* varyings[] = { "result_tess_level_inner", "result_tess_level_outer" }; in initTestDescriptor() local
3483 const unsigned int n_varyings = sizeof(varyings) / sizeof(varyings[0]); in initTestDescriptor()
3485 gl.transformFeedbackVaryings(out_test_ptr->po_id, n_varyings, varyings, GL_INTERLEAVED_ATTRIBS); in initTestDescriptor()
4037 const char* varyings[] = { in initTestDescriptor() local
[all …]
/external/deqp/external/openglcts/modules/glesext/gpu_shader5/
DesextcGPUShader5TextureGatherOffset.cpp1374 void GPUShader5TextureGatherOffsetColorTestBase::logVaryings(const CapturedVaryings& varyings) in logVaryings() argument
1376 logArray(varyings.without_offset_0, m_n_components_per_varying, "Without offset X: "); in logVaryings()
1378 logArray(varyings.without_offset_1, m_n_components_per_varying, "Without offset Y: "); in logVaryings()
1380 logArray(varyings.without_offset_2, m_n_components_per_varying, "Without offset Z: "); in logVaryings()
1382 logArray(varyings.without_offset_3, m_n_components_per_varying, "Without offset W: "); in logVaryings()
1384 logArray(varyings.with_offset_0, m_n_components_per_varying, "With offset X: "); in logVaryings()
1386 logArray(varyings.with_offset_1, m_n_components_per_varying, "With offset Y: "); in logVaryings()
1388 logArray(varyings.with_offset_2, m_n_components_per_varying, "With offset Z: "); in logVaryings()
1390 logArray(varyings.with_offset_3, m_n_components_per_varying, "With offset W: "); in logVaryings()
2289 void GPUShader5TextureGatherOffsetDepthTestBase::logVaryings(const CapturedVaryings& varyings) in logVaryings() argument
[all …]

12345