- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Renderer info:
GL_VENDOR:Intel
GL_RENDERER:Intel(R) HD Graphics 3000
GL_VERSION:3.1.0 - Build 8.15.10.2696
Description:
Code crashes somewhere in glCompileShader. Any whitespace characters after # endif prevents crash.
Code:
std::string shader_src =
"# ifdef DEFINED\r\n"
"out vec4 position;\r\n"
"void main() {position = vec4(1.0,1.0,1.0,1.0);} \r\n"
"# else\r\n"
"out vec4 position;\r\n"
"void main() {position = vec4(1.0,1.0,1.0,1.0);} \r\n"
"# endif";
std::string head = "# version 130\r\n# define DEFINED 1\r\n";
gl::GLint shader = gl::glCreateShader(gl::GL_VERTEX_SHADER);
const char* sources[] = {head.c_str(), shader_src.c_str()};
gl::GLint lens[] = {head.size(),shader_src.size()};
gl::glShaderSource(shader,2,sources,lens);
gl::glCompileShader(shader);
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there!
The Intel engineering department is aware of this problem and they are currently working on it. Please keep checking this post for future updates.
Thanks
Allan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there!
A new driver update has been posted; please try testing new driver to see if the problem is corrected. Driver version 8.15.10.2761
http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=21431 http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=21431 64bit .zip
http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=21430 http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=21430 64bit. exe
http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=21429 http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=21429 32bit .zip
http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=21428 http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=21428 32bit. exe
Thanks.
Allan.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page