Searched refs:DE_STATIC_ASSERT (Results 1 – 25 of 109) sorted by relevance
12345
34 DE_STATIC_ASSERT(sizeof(GLbyte) == 1);35 DE_STATIC_ASSERT(sizeof(GLubyte) == 1);36 DE_STATIC_ASSERT(sizeof(GLshort) == 2);37 DE_STATIC_ASSERT(sizeof(GLushort) == 2);38 DE_STATIC_ASSERT(sizeof(GLint) == 4);39 DE_STATIC_ASSERT(sizeof(GLuint) == 4);40 DE_STATIC_ASSERT(sizeof(GLint64) == 8);41 DE_STATIC_ASSERT(sizeof(GLuint64) == 8);43 DE_STATIC_ASSERT(sizeof(GLhalf) == 2);44 DE_STATIC_ASSERT(sizeof(GLfloat) == 4);[all …]
28 DE_STATIC_ASSERT(sizeof(deUint8) == 1);29 DE_STATIC_ASSERT(sizeof(deUint16) == 2);30 DE_STATIC_ASSERT(sizeof(deUint32) == 4);31 DE_STATIC_ASSERT(sizeof(deUint64) == 8);32 DE_STATIC_ASSERT(sizeof(deInt8) == 1);33 DE_STATIC_ASSERT(sizeof(deInt16) == 2);34 DE_STATIC_ASSERT(sizeof(deInt32) == 4);35 DE_STATIC_ASSERT(sizeof(deInt64) == 8);36 DE_STATIC_ASSERT(sizeof(deUintptr) == sizeof(void*));37 DE_STATIC_ASSERT(sizeof(deIntptr) == sizeof(void*));[all …]
129 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_rcpLUT) == (1<<RCP_LUT_BITS)); in deRcp32()
90 DE_STATIC_ASSERT(FLT_RADIX == 2); in deRandom_getDouble()
53 DE_STATIC_ASSERT(glu::TYPE_FLOAT+1 == glu::TYPE_FLOAT_VEC2); in createTests()54 DE_STATIC_ASSERT(glu::TYPE_FLOAT+2 == glu::TYPE_FLOAT_VEC3); in createTests()55 DE_STATIC_ASSERT(glu::TYPE_FLOAT+3 == glu::TYPE_FLOAT_VEC4); in createTests()57 DE_STATIC_ASSERT(glu::TYPE_INT+1 == glu::TYPE_INT_VEC2); in createTests()58 DE_STATIC_ASSERT(glu::TYPE_INT+2 == glu::TYPE_INT_VEC3); in createTests()59 DE_STATIC_ASSERT(glu::TYPE_INT+3 == glu::TYPE_INT_VEC4); in createTests()61 DE_STATIC_ASSERT(glu::TYPE_UINT+1 == glu::TYPE_UINT_VEC2); in createTests()62 DE_STATIC_ASSERT(glu::TYPE_UINT+2 == glu::TYPE_UINT_VEC3); in createTests()63 DE_STATIC_ASSERT(glu::TYPE_UINT+3 == glu::TYPE_UINT_VEC4); in createTests()65 DE_STATIC_ASSERT(glu::TYPE_BOOL+1 == glu::TYPE_BOOL_VEC2); in createTests()[all …]
188 DE_STATIC_ASSERT(sizeof(tcu::Vec4) == sizeof(float)*4); in render()189 DE_STATIC_ASSERT(sizeof(quad.color) == sizeof(float)*4*4); in render()190 DE_STATIC_ASSERT(sizeof(quad.color1) == sizeof(float)*4*4); in render()259 DE_STATIC_ASSERT(MAX_FRAGMENT_BUFFER_SIZE == DE_LENGTH_OF_ARRAY(m_fragmentBuffer)); in render()
117 DE_STATIC_ASSERT(DstSize >= SrcSize); in vecToArr()125 DE_STATIC_ASSERT(DstSize >= ValRows*ValCols); in matToArr()
57 DE_STATIC_ASSERT(sizeof(Scalar) == sizeof(deUint32));101 float asFloat (void) const { DE_STATIC_ASSERT(Stride == 1); return m_value->floatVal; } in asFloat()102 int asInt (void) const { DE_STATIC_ASSERT(Stride == 1); return m_value->intVal; } in asInt()103 bool asBool (void) const { DE_STATIC_ASSERT(Stride == 1); return m_value->boolVal; } in asBool()104 Scalar asScalar (void) const { DE_STATIC_ASSERT(Stride == 1); return *m_value; } in asScalar()134 float& asFloat (void) { DE_STATIC_ASSERT(Stride == 1); return this->m_value->floatVal; } in asFloat()135 int& asInt (void) { DE_STATIC_ASSERT(Stride == 1); return this->m_value->intVal; } in asInt()136 bool& asBool (void) { DE_STATIC_ASSERT(Stride == 1); return this->m_value->boolVal; } in asBool()137 Scalar& asScalar (void) { DE_STATIC_ASSERT(Stride == 1); return *this->m_value; } in asScalar()163 DE_STATIC_ASSERT(SrcStride == Stride || SrcStride == 1); in operator =()
57 DE_STATIC_ASSERT(Size == 2); in VecAccess()66 DE_STATIC_ASSERT(Size == 3); in VecAccess()76 DE_STATIC_ASSERT(Size == 4); in VecAccess()119 T y (void) const { DE_STATIC_ASSERT(Size >= 2); return m_data[1]; } in y()120 T z (void) const { DE_STATIC_ASSERT(Size >= 3); return m_data[2]; } in z()121 T w (void) const { DE_STATIC_ASSERT(Size >= 4); return m_data[3]; } in w()125 T& y (void) { DE_STATIC_ASSERT(Size >= 2); return m_data[1]; } in y()126 T& z (void) { DE_STATIC_ASSERT(Size >= 3); return m_data[2]; } in z()127 T& w (void) { DE_STATIC_ASSERT(Size >= 4); return m_data[3]; } in w()190 DE_STATIC_ASSERT(Size == 2); in Vector()[all …]
145 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_names) == SHADERTYPE_LAST); in getShaderTypeName()161 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_names) == PRECISION_LAST); in getPrecisionName()242 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_names) == TYPE_LAST); in getDataTypeName()321 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_sizes) == TYPE_LAST); in getDataTypeScalarSize()400 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_scalarTypes) == TYPE_LAST); in getDataTypeScalarType()479 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_floatTypes) == TYPE_LAST); in getDataTypeFloatScalars()
233 DE_STATIC_ASSERT(TYPE_FLOAT_VEC4 == TYPE_FLOAT + 3);234 DE_STATIC_ASSERT(TYPE_INT_VEC4 == TYPE_INT + 3);235 DE_STATIC_ASSERT(TYPE_UINT_VEC4 == TYPE_UINT + 3);236 DE_STATIC_ASSERT(TYPE_BOOL_VEC4 == TYPE_BOOL + 3);
361 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_typeMap) == SHADERTYPE_LAST); in getGLShaderType()377 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_typebitMap) == SHADERTYPE_LAST); in getGLShaderTypeBit()393 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_typeMap) == SHADERTYPE_LAST); in getLogShaderType()445 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_compileTimeDesc) == SHADERTYPE_LAST); in operator <<()
45 DE_STATIC_ASSERT(sizeof(deMutex) >= sizeof(CRITICAL_SECTION*));88 DE_STATIC_ASSERT(sizeof(deMutex) >= sizeof(HANDLE));
32 DE_STATIC_ASSERT(sizeof(deThreadLocal) >= sizeof(DWORD));
34 DE_STATIC_ASSERT(sizeof(deSemaphore) >= sizeof(HANDLE));
35 DE_STATIC_ASSERT(sizeof(deThread) >= sizeof(HANDLE));
28 DE_STATIC_ASSERT(sizeof(long) == sizeof(deInt32));
28 DE_STATIC_ASSERT(sizeof(deSingletonState) == sizeof(deUint32));
47 DE_STATIC_ASSERT(sizeof("a") == 2); in main()
34 DE_STATIC_ASSERT(sizeof(pthread_key_t) <= sizeof(deThreadLocal));
32 DE_STATIC_ASSERT(sizeof(deSemaphore) >= sizeof(sem_t*));
34 DE_STATIC_ASSERT(sizeof(deMutex) >= sizeof(pthread_mutex_t*));
44 DE_STATIC_ASSERT(sizeof(deSemaphore) >= sizeof(NamedSemaphore*));
45 DE_STATIC_ASSERT(sizeof(deThread) >= sizeof(Thread*));
160 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_qpTestTypeMap) == QP_TEST_CASE_TYPE_LAST + 1);180 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_qpTestResultMap) == QP_TEST_RESULT_LAST + 1);195 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_qpTagMap) == QP_KEY_TAG_LAST + 1);207 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_qpSampleValueTagMap) == QP_SAMPLE_VALUE_TAG_LAST + 1);221 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_qpImageCompressionModeMap) == QP_IMAGE_COMPRESSION_MODE_LAST …233 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_qpImageFormatMap) == QP_IMAGE_FORMAT_LAST + 1);249 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_qpShaderTypeMap) == QP_SHADER_TYPE_LAST + 1);