Closed
Bug 936738
Opened 11 years ago
Closed 11 years ago
`uniform{2,3,4}i` should not check for valid sampler texUnit values
Categories
(Core :: Graphics: CanvasWebGL, defect)
Core
Graphics: CanvasWebGL
Tracking
()
RESOLVED
FIXED
mozilla28
People
(Reporter: jgilbert, Assigned: jgilbert)
References
Details
(Whiteboard: webgl-internal [qa-])
Attachments
(1 file)
2.47 KB,
patch
|
bjacob
:
review+
|
Details | Diff | Splinter Review |
`uniform{2,3,4}i` should not check for valid sampler texUnit values, because all `uniform**` calls other than `uniform1i` generate INVALID_OPERATION when called on the location of a sampler.
Assignee | ||
Updated•11 years ago
|
OS: Linux → All
Hardware: x86_64 → All
Assignee | ||
Updated•11 years ago
|
Whiteboard: webgl-internal
Assignee | ||
Comment 1•11 years ago
|
||
Assignee: nobody → jgilbert
Attachment #829654 -
Flags: review?(bjacob)
Comment 2•11 years ago
|
||
Comment on attachment 829654 [details] [diff] [review]
no-multi-sampler-uniforms
Review of attachment 829654 [details] [diff] [review]:
-----------------------------------------------------------------
r=me, but should we then check ourselves that the uniform isn't a sampler? Or should we trust the driver for that?
Attachment #829654 -
Flags: review?(bjacob) → review+
Assignee | ||
Comment 3•11 years ago
|
||
(In reply to Benoit Jacob [:bjacob] from comment #2)
> r=me, but should we then check ourselves that the uniform isn't a sampler?
> Or should we trust the driver for that?
So far we just trust the driver. I think this is probably fairly safe, since this is a fairly straight-forward part of the spec. In the absence of known driver issues, let's just hand this off to the driver.
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 4•11 years ago
|
||
Keywords: checkin-needed
Comment 5•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Updated•11 years ago
|
Whiteboard: webgl-internal → webgl-internal [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•