Searched defs:varyings (Results 1 - 25 of 29) sorted by relevance

12

/external/deqp/framework/referencerenderer/
H A DrrPrimitivePacket.cpp38 void GeometryEmitter::EmitVertex (const tcu::Vec4& position, float pointSize, const GenericVec4* varyings, int primitiveID) argument
55 packet->outputs[ndx] = varyings[ndx];
H A DrrShadingContext.hpp42 const GenericVec4* varyings[3]; //!< Vertex shader outputs. Pointer will be NULL if there is no such vertex. member in struct:rr::FragmentShadingContext
71 return context.varyings[0][varyingLoc].get<T>();
77 return packet.barycentric[0][fragNdx] * context.varyings[0][varyingLoc].get<T>()
78 + packet.barycentric[1][fragNdx] * context.varyings[1][varyingLoc].get<T>();
84 return packet.barycentric[0][fragNdx] * context.varyings[0][varyingLoc].get<T>()
85 + packet.barycentric[1][fragNdx] * context.varyings[1][varyingLoc].get<T>()
86 + packet.barycentric[2][fragNdx] * context.varyings[2][varyingLoc].get<T>();
92 if (context.varyings[1] == DE_NULL) return readPointVarying<T> (packet, context, varyingLoc, fragNdx);
93 if (context.varyings[2] == DE_NULL) return readLineVarying<T> (packet, context, varyingLoc, fragNdx);
/external/deqp/external/openglcts/modules/glesext/geometry_shader/
H A DesextcGeometryShaderAdjacency.cpp294 const char* varyings[] = { "out_adjacent_geometry", "out_geometry" }; local
296 gl.transformFeedbackVaryings(m_po_id, 2, varyings, GL_SEPARATE_ATTRIBS);
300 const char* varyings[] = { "gl_Position" }; local
302 gl.transformFeedbackVaryings(m_po_id, 1, varyings, GL_SEPARATE_ATTRIBS);
/external/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_compiler.h104 struct etna_varying varyings[ETNA_NUM_INPUTS]; member in struct:etna_shader_link_info
/external/deqp/external/openglcts/modules/glesext/gpu_shader5/
H A DesextcGPUShader5FmaPrecision.cpp177 const char* varyings[] = { "resultFma", "resultStd" }; local
179 gl.transformFeedbackVaryings(m_po_id, 2, varyings, GL_SEPARATE_ATTRIBS);
H A DesextcGPUShader5TextureGatherOffset.cpp1228 /** Get size of buffer used as output from transform feedback and names of varyings
1231 * @param out_captured_varyings Names of varyings
1324 /* Pointers to all varyings for given vertex */
1345 /* Copy captured varyings to captured_data instance */
1370 /** Logs data captured varyings
1372 * @param varyings Instance of capturedVaryings to be logged
1374 void GPUShader5TextureGatherOffsetColorTestBase::logVaryings(const CapturedVaryings& varyings) argument
1376 logArray(varyings.without_offset_0, m_n_components_per_varying, "Without offset X: ");
1378 logArray(varyings.without_offset_1, m_n_components_per_varying, "Without offset Y: ");
1380 logArray(varyings
2289 logVaryings(const CapturedVaryings& varyings) argument
[all...]
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/
H A DesextcTessellationShaderTriangles.cpp378 const char* varyings[] = { "result_uvw" }; local
379 const unsigned int n_varyings = sizeof(varyings) / sizeof(varyings[0]);
381 gl.transformFeedbackVaryings(test.po_id, n_varyings, varyings, GL_INTERLEAVED_ATTRIBS);
H A DesextcTessellationShaderVertexOrdering.cpp373 const char* varyings[] = { "result_uvw" }; local
376 varyings, GL_INTERLEAVED_ATTRIBS);
H A DesextcTessellationShaderXFB.cpp189 const char* const* varyings, bool should_succeed)
210 gl.transformFeedbackVaryings(po_id, n_varyings, varyings, GL_SEPARATE_ATTRIBS);
303 DE_NULL, /* varyings */
390 * program without the feedback varyings that we can use for our testing.
409 &varying_name, /* varyings */
417 DE_NULL, /* varyings */
187 createSeparableProgram(glw::GLenum shader_type, unsigned int n_strings, const char* const* strings, unsigned int n_varyings, const char* const* varyings, bool should_succeed) argument
H A DesextcTessellationShaderTessellation.cpp578 const char* varyings[] = { "te_tc_primitive_id", "te_primitive_id" }; local
579 const unsigned int n_varyings = sizeof(varyings) / sizeof(varyings[0]);
581 gl.transformFeedbackVaryings(run.po_id, n_varyings, varyings, GL_INTERLEAVED_ATTRIBS);
1190 const char* varyings[] = { "te_tc_invocation_id", "te_tc_patch_vertices_in", "te_tc_primitive_id", local
1192 const unsigned int n_varyings = sizeof(varyings) / sizeof(varyings[0]);
1194 gl.transformFeedbackVaryings(run.po_id, n_varyings, varyings, GL_INTERLEAVED_ATTRIBS);
1418 * In the list of varyings passed to glTransformFeedbackVaryings(),
1449 * In the list of varyings passe
1951 const char* varyings[] = { "result_uvw" }; local
[all...]
H A DesextcTessellationShaderUtils.cpp1260 const char* varyings[] = { "result_uvw" }; local
1263 varyings, GL_INTERLEAVED_ATTRIBS);
H A DesextcTessellationShaderTCTE.cpp655 /* Configure varyings */
669 const char** varyings = DE_NULL; local
685 varyings = gs_point_size_varyings;
703 varyings = gs_non_point_size_varyings;
720 varyings = non_gs_point_size_varyings;
740 varyings = non_gs_non_point_size_varyings;
755 gl.transformFeedbackVaryings(run.po_id, n_varyings, varyings, GL_INTERLEAVED_ATTRIBS);
837 /* Extract varyings' data */
1511 * names of varyings that should be used for TF. Can be NULL,
3482 const char* varyings[] local
4037 const char* varyings[] = { local
[all...]
/external/deqp/external/openglcts/modules/glesext/texture_buffer/
H A DesextcTextureBufferTextureBufferRange.cpp910 const char* varyings[] = { "outTextureSize", "outValue" }; local
912 gl.transformFeedbackVaryings(m_vsfs_po_id, 2, varyings, GL_SEPARATE_ATTRIBS);
913 GLU_EXPECT_NO_ERROR(gl.getError(), "Error setting transform feedback varyings!");
H A DesextcTextureBufferOperations.cpp1177 /* Setup transform feedback varyings */
1178 const char* varyings[] = { "outPosition" }; local
1179 gl.transformFeedbackVaryings(m_tf_po_id, 1, varyings, GL_SEPARATE_ATTRIBS);
1180 GLU_EXPECT_NO_ERROR(gl.getError(), "Error specifying transform feedback varyings!");
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_tcs.c85 uint64_t varyings = nir->info->inputs_read; local
87 while (varyings != 0) {
88 const int varying = ffsll(varyings) - 1;
109 varyings &= ~BITFIELD64_BIT(varying);
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
H A DesextcTextureCubeMapArrayImageTextureSize.cpp538 /* Set transform feedback varyings */
539 const char* varyings[] = { "texture_std_size", "texture_shw_size" }; local
540 gl.transformFeedbackVaryings(m_po_id, m_n_varyings, varyings, GL_INTERLEAVED_ATTRIBS);
541 GLU_EXPECT_NO_ERROR(gl.getError(), "Error setting transform feedback varyings.");
661 /* Set transform feedback varyings */
662 const char* varyings[] = { "texture_std_size", "texture_shw_size" }; local
663 gl.transformFeedbackVaryings(m_po_id, m_n_varyings, varyings, GL_INTERLEAVED_ATTRIBS);
664 GLU_EXPECT_NO_ERROR(gl.getError(), "Error setting transform feedback varyings.");
817 /* Set transform feedback varyings */
818 const char* varyings[] local
[all...]
/external/deqp/framework/opengl/
H A DgluShaderProgram.cpp222 void Program::transformFeedbackVaryings (int count, const char* const* varyings, deUint32 bufferMode) argument
224 m_gl.transformFeedbackVaryings(m_program, count, varyings, bufferMode);
H A DgluShaderProgram.hpp125 void transformFeedbackVaryings (int count, const char* const* varyings, deUint32 bufferMode);
317 ProgramSources& operator<< (const TransformFeedbackVaryings<Iterator>& varyings);
321 inline ProgramSources& ProgramSources::operator<< (const TransformFeedbackVaryings<Iterator>& varyings) argument
323 for (Iterator cur = varyings.begin; cur != varyings.end; ++cur)
/external/deqp/external/openglcts/modules/gl/
H A Dgl3cTransformFeedbackOverflowQueryTests.cpp1270 gl.transformFeedbackVaryings(m_program, varyingsCount(), varyings(), bufferMode());
1366 /* Returns the number of transform feedback varyings. */
1370 virtual const char** varyings() = 0;
1426 /* There are a total of 4 varyings. */
1433 virtual const char** varyings() function in class:gl3cts::TransformFeedbackOverflowQuerySingleStreamBase
1899 /* Together with the separators there are a total of 7 varyings. */
1906 virtual const char** varyings() function in class:gl3cts::TransformFeedbackOverflowQueryMultipleStreamsOneBufferPerStream
2057 /* Together with the separators there are a total of 7 varyings. */
2065 virtual const char** varyings() function in class:gl3cts::TransformFeedbackOverflowQueryMultipleStreamsMultipleBufferPerStream
H A Dgl4cProgramInterfaceQueryTests.cpp1859 const char* varyings[6] = { "a", "b[0]", "b[1]", "c", "d", "e" }; local
1860 glTransformFeedbackVaryings(program, 6, varyings, GL_INTERLEAVED_ATTRIBS);
3267 const char* varyings[11] = { "a", "gl_NextBuffer", "c", "gl_SkipComponents1", "d", "gl_SkipComponents2", local
3269 glTransformFeedbackVaryings(program, 11, varyings, GL_INTERLEAVED_ATTRIBS);
4873 const char* varyings[2] = { "q", "z" }; local
4874 glTransformFeedbackVaryings(program, 2, varyings, GL_INTERLEAVED_ATTRIBS);
4996 const char* varyings[2] = { "q", "z" }; local
4997 glTransformFeedbackVaryings(program, 2, varyings, GL_INTERLEAVED_ATTRIBS);
/external/mesa3d/src/mesa/main/
H A Dtransformfeedback.c424 "glBeginTransformFeedback(no varyings to record)");
812 const GLchar * const *varyings,
858 if (strcmp(varyings[i], "gl_NextBuffer") == 0)
870 if (strcmp(varyings[i], "gl_NextBuffer") == 0 ||
871 strcmp(varyings[i], "gl_SkipComponents1") == 0 ||
872 strcmp(varyings[i], "gl_SkipComponents2") == 0 ||
873 strcmp(varyings[i], "gl_SkipComponents3") == 0 ||
874 strcmp(varyings[i], "gl_SkipComponents4") == 0) {
878 varyings[i]);
885 /* free existing varyings, i
811 _mesa_TransformFeedbackVaryings(GLuint program, GLsizei count, const GLchar * const *varyings, GLenum bufferMode) argument
[all...]
/external/swiftshader/src/OpenGL/compiler/
H A DOutputASM.h193 VaryingList varyings; member in class:glsl::Shader
328 VariableArray varyings; member in class:glsl::OutputASM
/external/deqp/external/openglcts/modules/gles31/
H A Des31cProgramInterfaceQueryTests.cpp1565 const char* varyings[6] = { "a", "b[0]", "b[1]", "c", "d", "e" }; local
1566 glTransformFeedbackVaryings(program, 6, varyings, GL_INTERLEAVED_ATTRIBS);
3412 const char* varyings[2] = { "q", "z" }; local
3413 glTransformFeedbackVaryings(program, 2, varyings, GL_INTERLEAVED_ATTRIBS);
3534 const char* varyings[2] = { "q", "z" }; local
3535 glTransformFeedbackVaryings(program, 2, varyings, GL_INTERLEAVED_ATTRIBS);
/external/deqp/modules/gles3/functional/
H A Des3fTransformFeedbackTests.cpp259 // Check varyings.
437 static void computeInputLayout (vector<Attribute>& attributes, int& inputStride, const vector<Varying>& varyings, bool usePointSize) argument
452 for (vector<Varying>::const_iterator var = varyings.begin(); var != varyings.end(); var++)
465 static void computeTransformFeedbackOutputs (vector<Output>& transformFeedbackOutputs, const vector<Attribute>& attributes, const vector<Varying>& varyings, const vector<string>& transformFeedbackVaryings, deUint32 bufferMode) argument
496 const Varying& varying = *std::find_if(varyings.begin(), varyings.end(), VaryingNameEquals(varName));
824 GLU_EXPECT_NO_ERROR(gl.getError(), "Query TF varyings");
944 log << TestLog::Message << "Transform feedback varyings: " << tcu::formatArray(m_progSpec.getTransformFeedbackVaryings().begin(), m_progSpec.getTransformFeedbackVaryings().end()) << TestLog::EndMessage;
947 log << TestLog::Message << "Transform feedback varyings reporte
[all...]
H A Des3fShaderStateQueryTests.cpp2022 // check varyings
2024 StateQueryMemoryWriteGuard<GLint> varyings; local
2025 glGetProgramiv(shaderProg, GL_TRANSFORM_FEEDBACK_VARYINGS, &varyings);
2027 if (!varyings.isUndefined())
2028 for (int index = 0; index < varyings; ++index)

Completed in 500 milliseconds

12