/third_party/vk-gl-cts/framework/opengl/wrapper/ |
D | glwDefs.cpp | 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 …]
|
/third_party/vk-gl-cts/framework/delibs/debase/ |
D | deDefs.c | 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 …]
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsShaderConstExprTests.cpp | 88 DE_STATIC_ASSERT(glu::TYPE_FLOAT+1 == glu::TYPE_FLOAT_VEC2); in createTests() 89 DE_STATIC_ASSERT(glu::TYPE_FLOAT+2 == glu::TYPE_FLOAT_VEC3); in createTests() 90 DE_STATIC_ASSERT(glu::TYPE_FLOAT+3 == glu::TYPE_FLOAT_VEC4); in createTests() 92 DE_STATIC_ASSERT(glu::TYPE_INT+1 == glu::TYPE_INT_VEC2); in createTests() 93 DE_STATIC_ASSERT(glu::TYPE_INT+2 == glu::TYPE_INT_VEC3); in createTests() 94 DE_STATIC_ASSERT(glu::TYPE_INT+3 == glu::TYPE_INT_VEC4); in createTests() 96 DE_STATIC_ASSERT(glu::TYPE_UINT+1 == glu::TYPE_UINT_VEC2); in createTests() 97 DE_STATIC_ASSERT(glu::TYPE_UINT+2 == glu::TYPE_UINT_VEC3); in createTests() 98 DE_STATIC_ASSERT(glu::TYPE_UINT+3 == glu::TYPE_UINT_VEC4); in createTests() 100 DE_STATIC_ASSERT(glu::TYPE_BOOL+1 == glu::TYPE_BOOL_VEC2); in createTests() [all …]
|
D | glsFragmentOpUtil.cpp | 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()
|
/third_party/vk-gl-cts/framework/egl/wrapper/ |
D | eglwDefs.cpp | 34 DE_STATIC_ASSERT(sizeof(EGLint) == 4); 35 DE_STATIC_ASSERT(sizeof(EGLBoolean) == 4); 36 DE_STATIC_ASSERT(sizeof(EGLAttrib) == sizeof(void*)); 37 DE_STATIC_ASSERT(sizeof(EGLTime) == 8);
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcShaderConstExprTests.cpp | 327 DE_STATIC_ASSERT(glu::TYPE_FLOAT + 1 == glu::TYPE_FLOAT_VEC2); in init() 328 DE_STATIC_ASSERT(glu::TYPE_FLOAT + 2 == glu::TYPE_FLOAT_VEC3); in init() 329 DE_STATIC_ASSERT(glu::TYPE_FLOAT + 3 == glu::TYPE_FLOAT_VEC4); in init() 331 DE_STATIC_ASSERT(glu::TYPE_INT + 1 == glu::TYPE_INT_VEC2); in init() 332 DE_STATIC_ASSERT(glu::TYPE_INT + 2 == glu::TYPE_INT_VEC3); in init() 333 DE_STATIC_ASSERT(glu::TYPE_INT + 3 == glu::TYPE_INT_VEC4); in init() 335 DE_STATIC_ASSERT(glu::TYPE_UINT + 1 == glu::TYPE_UINT_VEC2); in init() 336 DE_STATIC_ASSERT(glu::TYPE_UINT + 2 == glu::TYPE_UINT_VEC3); in init() 337 DE_STATIC_ASSERT(glu::TYPE_UINT + 3 == glu::TYPE_UINT_VEC4); in init() 339 DE_STATIC_ASSERT(glu::TYPE_BOOL + 1 == glu::TYPE_BOOL_VEC2); in init() [all …]
|
/third_party/vk-gl-cts/framework/randomshaders/ |
D | rsgVariableValue.hpp | 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 =()
|
/third_party/vk-gl-cts/framework/common/ |
D | tcuVector.hpp | 57 DE_STATIC_ASSERT(Size == 2); in VecAccess() 66 DE_STATIC_ASSERT(Size == 3); in VecAccess() 76 DE_STATIC_ASSERT(Size == 4); in VecAccess() 118 T y (void) const { DE_STATIC_ASSERT(Size >= 2); return m_data[1]; } in y() 119 T z (void) const { DE_STATIC_ASSERT(Size >= 3); return m_data[2]; } in z() 120 T w (void) const { DE_STATIC_ASSERT(Size >= 4); return m_data[3]; } in w() 124 T& y (void) { DE_STATIC_ASSERT(Size >= 2); return m_data[1]; } in y() 125 T& z (void) { DE_STATIC_ASSERT(Size >= 3); return m_data[2]; } in z() 126 T& w (void) { DE_STATIC_ASSERT(Size >= 4); return m_data[3]; } in w() 190 DE_STATIC_ASSERT(Size == 2); in Vector() [all …]
|
D | tcuTextureUtil.cpp | 105 DE_STATIC_ASSERT(TextureFormat::CHANNELORDER_LAST == 22); in isSRGB() 123 DE_STATIC_ASSERT(TextureFormat::CHANNELTYPE_LAST == 48); in isCombinedDepthStencilType() 133 DE_STATIC_ASSERT(TextureFormat::CHANNELORDER_LAST == 22); in hasStencilComponent() 148 DE_STATIC_ASSERT(TextureFormat::CHANNELORDER_LAST == 22); in hasDepthComponent() 165 DE_STATIC_ASSERT(TextureFormat::CHANNELTYPE_LAST == 48); in getTextureChannelClass() 360 DE_STATIC_ASSERT(TextureFormat::CHANNELTYPE_LAST == 48); in getFloatChannelValueRange() 545 DE_STATIC_ASSERT(TextureFormat::CHANNELTYPE_LAST == 48); in getChannelBitDepth() 622 DE_STATIC_ASSERT(TextureFormat::CHANNELTYPE_LAST == 48); in getChannelMantissaBitDepth() 767 DE_STATIC_ASSERT(sizeof(pixel) == CLEAR_OPTIMIZE_MAX_PIXEL_SIZE); in clear() 798 DE_STATIC_ASSERT(sizeof(pixel) == CLEAR_OPTIMIZE_MAX_PIXEL_SIZE); in clear() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkDefs.cpp | 29 DE_STATIC_ASSERT(sizeof(vk::VkImageType) == sizeof(deUint32)); 30 DE_STATIC_ASSERT(sizeof(vk::VkResult) == sizeof(deUint32)); 31 DE_STATIC_ASSERT(sizeof(vk::VkDevice) == sizeof(void*)); 32 DE_STATIC_ASSERT(sizeof(vk::VkBuffer) == sizeof(deUint64));
|
/third_party/vk-gl-cts/external/glslang/ |
D | osinclude.cpp | 33 DE_STATIC_ASSERT(sizeof(deThreadLocal) == sizeof(OS_TLSIndex)); 34 DE_STATIC_ASSERT(sizeof(deThread) == sizeof(void*)); 82 DE_STATIC_ASSERT(sizeof(void*) >= sizeof(deThread));
|
/third_party/glslang/ |
D | osinclude.cpp | 33 DE_STATIC_ASSERT(sizeof(deThreadLocal) == sizeof(OS_TLSIndex)); 34 DE_STATIC_ASSERT(sizeof(deThread) == sizeof(void*)); 82 DE_STATIC_ASSERT(sizeof(void*) >= sizeof(deThread));
|
/third_party/vk-gl-cts/framework/opengl/ |
D | gluShaderUtil.cpp | 88 DE_STATIC_ASSERT(GLSL_VERSION_LAST == 15); in glslVersionIsES() 165 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_names) == SHADERTYPE_LAST); in getShaderTypeName() 186 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_names) == PRECISION_LAST); in getPrecisionName() 327 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_names) == TYPE_LAST); in getDataTypeName() 461 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_sizes) == TYPE_LAST); in getDataTypeScalarSize() 595 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_scalarTypes) == TYPE_LAST); in getDataTypeScalarType() 729 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_floatTypes) == TYPE_LAST); in getDataTypeFloat16Scalars() 863 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_floatTypes) == TYPE_LAST); in getDataTypeFloatScalars() 997 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_doubleTypes) == TYPE_LAST); in getDataTypeDoubleScalars()
|
D | gluShaderUtil.hpp | 397 DE_STATIC_ASSERT(TYPE_FLOAT_VEC4 == TYPE_FLOAT + 3); 398 DE_STATIC_ASSERT(TYPE_INT_VEC4 == TYPE_INT + 3); 399 DE_STATIC_ASSERT(TYPE_UINT_VEC4 == TYPE_UINT + 3); 400 DE_STATIC_ASSERT(TYPE_BOOL_VEC4 == TYPE_BOOL + 3); 401 DE_STATIC_ASSERT(TYPE_DOUBLE_VEC4 == TYPE_DOUBLE + 3);
|
/third_party/vk-gl-cts/framework/platform/android/ |
D | tcuAndroidPlatform.cpp | 39 DE_STATIC_ASSERT(sizeof(eglw::EGLNativeDisplayType) == sizeof(void*)); 40 DE_STATIC_ASSERT(sizeof(eglw::EGLNativePixmapType) == sizeof(struct egl_native_pixmap_t*)); 41 DE_STATIC_ASSERT(sizeof(eglw::EGLNativeWindowType) == sizeof(ANativeWindow*)); 218 DE_STATIC_ASSERT(sizeof(vk::pt::AndroidNativeWindowPtr) == sizeof(ANativeWindow*));
|
/third_party/vk-gl-cts/framework/delibs/dethread/win32/ |
D | deMutexWin32.c | 45 DE_STATIC_ASSERT(sizeof(deMutex) >= sizeof(CRITICAL_SECTION*)); 88 DE_STATIC_ASSERT(sizeof(deMutex) >= sizeof(HANDLE));
|
D | deThreadLocalWin32.c | 32 DE_STATIC_ASSERT(sizeof(deThreadLocal) >= sizeof(DWORD));
|
/third_party/vk-gl-cts/framework/platform/lnx/X11/ |
D | tcuLnxX11EglDisplayFactory.cpp | 45 DE_STATIC_ASSERT(sizeof(EGLNativeDisplayType) <= sizeof(eglw::EGLNativeDisplayType)); 46 DE_STATIC_ASSERT(sizeof(EGLNativePixmapType) <= sizeof(eglw::EGLNativePixmapType)); 47 DE_STATIC_ASSERT(sizeof(EGLNativeWindowType) <= sizeof(eglw::EGLNativeWindowType));
|
/third_party/vk-gl-cts/framework/platform/win32/ |
D | tcuWin32EGLNativeDisplayFactory.cpp | 37 DE_STATIC_ASSERT(sizeof(eglw::EGLNativeDisplayType) == sizeof(HDC)); 38 DE_STATIC_ASSERT(sizeof(eglw::EGLNativePixmapType) == sizeof(HBITMAP)); 39 DE_STATIC_ASSERT(sizeof(eglw::EGLNativeWindowType) == sizeof(HWND));
|
D | tcuWin32VulkanPlatform.cpp | 44 DE_STATIC_ASSERT(sizeof(vk::pt::Win32InstanceHandle) == sizeof(HINSTANCE)); 45 DE_STATIC_ASSERT(sizeof(vk::pt::Win32WindowHandle) == sizeof(HWND));
|
/third_party/vk-gl-cts/framework/delibs/dethread/ |
D | deAtomic.c | 28 DE_STATIC_ASSERT(sizeof(long) == sizeof(deInt32));
|
D | deSingleton.c | 28 DE_STATIC_ASSERT(sizeof(deSingletonState) == sizeof(deUint32));
|
/third_party/vk-gl-cts/framework/qphelper/ |
D | qpTestLog.c | 160 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_qpTestTypeMap) == QP_TEST_CASE_TYPE_LAST + 1); 181 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_qpTestResultMap) == QP_TEST_RESULT_LAST + 1); 196 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_qpTagMap) == QP_KEY_TAG_LAST + 1); 208 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_qpSampleValueTagMap) == QP_SAMPLE_VALUE_TAG_LAST + 1); 222 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_qpImageCompressionModeMap) == QP_IMAGE_COMPRESSION_MODE_LAST … 234 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_qpImageFormatMap) == QP_IMAGE_FORMAT_LAST + 1); 258 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_qpShaderTypeMap) == QP_SHADER_TYPE_LAST + 1);
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/ |
D | vktSubgroupsBuiltinMaskVarTests.cpp | 59 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(TestTypeSpirvBuiltins) == TEST_TYPE_LAST); 69 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(TestTypeMathOps) == TEST_TYPE_LAST); 79 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(TestTypeSpirvOps) == TEST_TYPE_LAST);
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/subgroups/ |
D | vktSubgroupsBuiltinMaskVarTests.cpp | 59 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(TestTypeSpirvBuiltins) == TEST_TYPE_LAST); 69 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(TestTypeMathOps) == TEST_TYPE_LAST); 79 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(TestTypeSpirvOps) == TEST_TYPE_LAST);
|