[Azure] Use 2D texture for gradient realizations

RESOLVED FIXED in mozilla15

Status

()

Core
Graphics
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: bas, Assigned: bas)

Tracking

unspecified
mozilla15
x86_64
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
Created attachment 625095 [details] [diff] [review]
Use a 2D texture for gradient realizations.

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+
(Assignee)

Comment 1

5 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/20cb25a8b8ba

Comment 2

5 years ago
Sorry, had to back out the push for Win debug crashes:
https://tbpl.mozilla.org/?tree=Mozilla-Inbound&rev=a693c64dc64e

https://hg.mozilla.org/integration/mozilla-inbound/rev/b4e62a1e9809
(Assignee)

Comment 3

5 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/64415d67fc2a

Comment 4

5 years ago
https://hg.mozilla.org/mozilla-central/rev/64415d67fc2a
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla15
You need to log in before you can comment on or make changes to this bug.