Closed
Bug 1215296
Opened 9 years ago
Closed 9 years ago
QueryProgramInfo doesn't handle interface fields very well
Categories
(Core :: Graphics: CanvasWebGL, defect)
Core
Graphics: CanvasWebGL
Tracking
()
RESOLVED
FIXED
mozilla45
Tracking | Status | |
---|---|---|
firefox45 | --- | fixed |
People
(Reporter: jrmuizel, Unassigned)
References
Details
(Whiteboard: [gfx-noted])
Attachments
(1 file, 1 obsolete file)
1.28 KB,
patch
|
jgilbert
:
review+
|
Details | Diff | Splinter Review |
It gets confused by the name mappings not showing from ShGetUniforms
Updated•9 years ago
|
Whiteboard: [gfx-noted]
Reporter | ||
Comment 1•9 years ago
|
||
I filed an ANGLE bug about this but it was won't fixed: https://code.google.com/p/angleproject/issues/detail?id=1181
Reporter | ||
Comment 2•9 years ago
|
||
Reporter | ||
Comment 3•9 years ago
|
||
I have this working now.
Reporter | ||
Comment 4•9 years ago
|
||
This approach is more inline with what was suggested by the ANGLE people.
Attachment #8677102 -
Attachment is obsolete: true
Attachment #8685058 -
Flags: review?(jgilbert)
Comment 5•9 years ago
|
||
Comment on attachment 8685058 [details] [diff] [review]
Also look in interface blocks when looking for uniforms
Review of attachment 8685058 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/canvas/WebGLShaderValidator.cpp
@@ +392,5 @@
> return true;
> }
>
> + const std::vector<sh::InterfaceBlock>& interfaces = *ShGetInterfaceBlocks(mHandle);
> + for (const auto &interface : interfaces) {
& against type.
Attachment #8685058 -
Flags: review?(jgilbert) → review+
Comment 7•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox45:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
You need to log in
before you can comment on or make changes to this bug.
Description
•