Home
last modified time | relevance | path

Searched refs:attribValue (Results 1 – 9 of 9) sorted by relevance

/external/angle/src/tests/egl_tests/
DEGLSyncTestMetalSharedEvent.mm135 EGLAttrib attribValue = kSentinelAttribValue;
136 EXPECT_EGL_TRUE(eglGetSyncAttrib(display, sync, EGL_SYNC_TYPE, &attribValue));
137 EXPECT_EQ(attribValue, EGL_SYNC_METAL_SHARED_EVENT_ANGLE);
139 attribValue = kSentinelAttribValue;
140 EXPECT_EGL_TRUE(eglGetSyncAttrib(display, sync, EGL_SYNC_CONDITION, &attribValue));
141 EXPECT_EQ(attribValue, EGL_SYNC_PRIOR_COMMANDS_COMPLETE);
143 attribValue = kSentinelAttribValue;
144 EXPECT_EGL_TRUE(eglGetSyncAttrib(display, sync, EGL_SYNC_STATUS, &attribValue));
145 EXPECT_EQ(attribValue, EGL_UNSIGNALED);
150 attribValue = kSentinelAttribValue;
[all …]
DEGLSyncTest.cpp109 EGLint attribValue = kSentinelAttribValue; in TEST_P() local
111 EGL_SYNC_TYPE_KHR, &attribValue)); in TEST_P()
113 EXPECT_EQ(attribValue, kSentinelAttribValue); in TEST_P()
117 EXPECT_EGL_FALSE(eglGetSyncAttribKHR(display, sync, EGL_CL_EVENT_HANDLE, &attribValue)); in TEST_P()
119 EXPECT_EQ(attribValue, kSentinelAttribValue); in TEST_P()
181 EGLint attribValue = kSentinelAttribValue; in TEST_P() local
182 EXPECT_EGL_TRUE(eglGetSyncAttribKHR(display, sync, EGL_SYNC_TYPE_KHR, &attribValue)); in TEST_P()
183 EXPECT_EQ(attribValue, EGL_SYNC_FENCE_KHR); in TEST_P()
185 attribValue = kSentinelAttribValue; in TEST_P()
186 EXPECT_EGL_TRUE(eglGetSyncAttribKHR(display, sync, EGL_SYNC_CONDITION_KHR, &attribValue)); in TEST_P()
[all …]
/external/deqp/modules/gles3/functional/
Des3fShaderStateQueryTests.cpp141 StateQueryMemoryWriteGuard<GLfloat[4]> attribValue; in verifyCurrentVertexAttribf() local
142 gl.glGetVertexAttribfv(index, GL_CURRENT_VERTEX_ATTRIB, attribValue); in verifyCurrentVertexAttribf()
144 attribValue.verifyValidity(testCtx); in verifyCurrentVertexAttribf()
146 if (attribValue[0] != x || attribValue[1] != y || attribValue[2] != z || attribValue[3] != w) in verifyCurrentVertexAttribf()
150 …<< "got [" << attribValue[0] << "," << attribValue[1] << "," << attribValue[2] << "," << attribVal… in verifyCurrentVertexAttribf()
161 StateQueryMemoryWriteGuard<GLint[4]> attribValue; in verifyCurrentVertexAttribIi() local
162 gl.glGetVertexAttribIiv(index, GL_CURRENT_VERTEX_ATTRIB, attribValue); in verifyCurrentVertexAttribIi()
164 attribValue.verifyValidity(testCtx); in verifyCurrentVertexAttribIi()
166 if (attribValue[0] != x || attribValue[1] != y || attribValue[2] != z || attribValue[3] != w) in verifyCurrentVertexAttribIi()
170 …<< "got [" << attribValue[0] << "," << attribValue[1] << "," << attribValue[2] << "," << attribVal… in verifyCurrentVertexAttribIi()
[all …]
/external/deqp/modules/gles2/functional/
Des2fShaderStateQueryTests.cpp122 StateQueryMemoryWriteGuard<GLfloat[4]> attribValue; in verifyCurrentVertexAttribf() local
123 gl.glGetVertexAttribfv(index, GL_CURRENT_VERTEX_ATTRIB, attribValue); in verifyCurrentVertexAttribf()
125 attribValue.verifyValidity(testCtx); in verifyCurrentVertexAttribf()
127 if (attribValue[0] != x || attribValue[1] != y || attribValue[2] != z || attribValue[3] != w) in verifyCurrentVertexAttribf()
131 …<< "got [" << attribValue[0] << "," << attribValue[1] << "," << attribValue[2] << "," << attribVal… in verifyCurrentVertexAttribf()
142 StateQueryMemoryWriteGuard<GLint[4]> attribValue; in verifyCurrentVertexAttribConversion() local
143 gl.glGetVertexAttribiv(index, GL_CURRENT_VERTEX_ATTRIB, attribValue); in verifyCurrentVertexAttribConversion()
145 attribValue.verifyValidity(testCtx); in verifyCurrentVertexAttribConversion()
162 if (attribValue[0] < referenceAsGLintMin[0] || attribValue[0] > referenceAsGLintMax[0] || in verifyCurrentVertexAttribConversion()
163 attribValue[1] < referenceAsGLintMin[1] || attribValue[1] > referenceAsGLintMax[1] || in verifyCurrentVertexAttribConversion()
[all …]
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowEGL14.java130 int attribValue = 0; in getAttribValue() local
133 attribValue = attribList[i + 1]; in getAttribValue()
136 return attribValue; in getAttribValue()
/external/deqp/modules/glshared/
DglsVertexArrayTests.cpp716 void calcShaderColorCoord (tcu::Vec2& coord, tcu::Vec3& color, const tcu::Vector<T, 4>& attribValue in calcShaderColorCoord() argument
721 case 1: coord = tcu::Vec2((float)attribValue.x(), (float)attribValue.x()); break; in calcShaderColorCoord()
722 case 2: coord = tcu::Vec2((float)attribValue.x(), (float)attribValue.y()); break; in calcShaderColorCoord()
723 …case 3: coord = tcu::Vec2((float)attribValue.x() + (float)attribValue.z(), (float)attribValue.y())… in calcShaderColorCoord()
724 …case 4: coord = tcu::Vec2((float)attribValue.x() + (float)attribValue.z(), (float)attribValue.y() … in calcShaderColorCoord()
734 color = color * (float)attribValue.x(); in calcShaderColorCoord()
738 color.x() = color.x() * (float)attribValue.x(); in calcShaderColorCoord()
739 color.y() = color.y() * (float)attribValue.y(); in calcShaderColorCoord()
743 color.x() = color.x() * (float)attribValue.x(); in calcShaderColorCoord()
744 color.y() = color.y() * (float)attribValue.y(); in calcShaderColorCoord()
[all …]
DglsRandomShaderProgram.cpp194 …const tcu::Vec4 attribValue = rr::readVertexAttribFloat(inputs[attribNdx], packet->instanceNdx, … in shadeVertices() local
196 access.component(0).asFloat(ndx) = attribValue[0]; in shadeVertices()
197 if (numComponents >= 2) access.component(1).asFloat(ndx) = attribValue[1]; in shadeVertices()
198 if (numComponents >= 3) access.component(2).asFloat(ndx) = attribValue[2]; in shadeVertices()
199 if (numComponents >= 4) access.component(3).asFloat(ndx) = attribValue[3]; in shadeVertices()
DglsDrawTest.cpp1175 void calcShaderColorCoord (tcu::Vec2& coord, tcu::Vec3& color, const tcu::Vector<T, 4>& attribValue in calcShaderColorCoord() argument
1180 case 1: coord += tcu::Vec2((float)attribValue.x(), (float)attribValue.x()); break; in calcShaderColorCoord()
1181 case 2: coord += tcu::Vec2((float)attribValue.x(), (float)attribValue.y()); break; in calcShaderColorCoord()
1182 …case 3: coord += tcu::Vec2((float)attribValue.x() + (float)attribValue.z(), (float)attribValue.y()… in calcShaderColorCoord()
1183 …case 4: coord += tcu::Vec2((float)attribValue.x() + (float)attribValue.z(), (float)attribValue.y()… in calcShaderColorCoord()
1193 color = color * (float)attribValue.x(); in calcShaderColorCoord()
1197 color.x() = color.x() * (float)attribValue.x(); in calcShaderColorCoord()
1198 color.y() = color.y() * (float)attribValue.y(); in calcShaderColorCoord()
1202 color.x() = color.x() * (float)attribValue.x(); in calcShaderColorCoord()
1203 color.y() = color.y() * (float)attribValue.y(); in calcShaderColorCoord()
[all …]
/external/armnn/src/armnnOnnxParser/
DOnnxParser.cpp203 int attribValue = 0; in ReadMandatoryNodeIntAttribute() local
205 [&attribValue](const onnx::AttributeProto& attrValue) in ReadMandatoryNodeIntAttribute()
207 attribValue = CHECKED_INT32(attrValue.i()); in ReadMandatoryNodeIntAttribute()
209 return attribValue; in ReadMandatoryNodeIntAttribute()
216 int64_t attribValue = defaultValue; in ReadOptionalNodeInt64Attribute() local
218 [&attribValue](const onnx::AttributeProto& attrValue) in ReadOptionalNodeInt64Attribute()
220 attribValue = attrValue.i(); in ReadOptionalNodeInt64Attribute()
222 return attribValue; in ReadOptionalNodeInt64Attribute()
244 uint32_t attribValue = defaultVal; in ReadOptionalNodeUint32Attribute() local
246 [&attribValue](const onnx::AttributeProto& attrValue) in ReadOptionalNodeUint32Attribute()
[all …]