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)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla28

People

(Reporter: jgilbert, Assigned: jgilbert)

References

Details

(Whiteboard: webgl-internal [qa-])

Attachments

(1 file)

`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.
OS: Linux → All
Hardware: x86_64 → All
Whiteboard: webgl-internal
Assignee: nobody → jgilbert
Attachment #829654 - Flags: review?(bjacob)
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+
(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.
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Whiteboard: webgl-internal → webgl-internal [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: