Closed Bug 756454 Opened 12 years ago Closed 12 years ago

[Azure] Use 2D texture for gradient realizations

Categories

(Core :: Graphics, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla15

People

(Reporter: bas.schouten, Assigned: bas.schouten)

Details

Attachments

(1 file)

We currently use a 1D texture for gradient realizations and pretend in the shader it's 2D. This generates an Error from the D3D10 debug layer (although it appears to work fine). 1D textures are not supported in SM3.0 (i.e. non-D3D10 hardware), and since we're currently allowing D3D9 card users to force D2D the easiest solution is to use a 4096x1 2D texture. This patch makes that happen.
Attachment #625095 - Flags: review?(jmuizelaar)
Attachment #625095 - Flags: review?(jmuizelaar) → review+
https://hg.mozilla.org/mozilla-central/rev/64415d67fc2a
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla15
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: