| Summary: |
glCompileShaderARB set OBJECT_COMPILE_STATUS_ARB false after call glAttachObjectARB |
| Product: |
Mesa
|
Reporter: |
WuNian <nian.wu> |
| Component: |
Mesa core | Assignee: |
mesa-dev |
| Status: |
VERIFIED
FIXED
|
QA Contact: |
|
| Severity: |
trivial
|
|
|
| Priority: |
lowest
|
|
|
| Version: |
git | |
|
| Hardware: |
x86 (IA32) | |
|
| OS: |
Linux (All) | |
|
| Whiteboard: |
|
|
i915 platform:
|
|
i915 features:
|
|
| Attachments: |
test case
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 15327 [details] test case If call glAttachObjectARB firstly, then call glCompileShaderARB, the OBJECT_COMPILE_STATUS_ARB will be set as GL_FALSE, following is the code fragment: shader = glCreateShaderObjectARB(GL_FRAGMENT_SHADER_ARB); glShaderSourceARB(shader, 1, shaderSrc, NULL); program = glCreateProgramObjectARB(); glAttachObjectARB(program, shader); glCompileShaderARB(shader); glGetObjectParameterivARB(shader, GL_OBJECT_COMPILE_STATUS_ARB, &compiled); With soft rendering, there is no this issue. With OpenGL2.0 function call, there is no this issue.