Closed Bug 1711538 Opened 3 years ago Closed 3 years ago

Improve 'compatible_type()'

Categories

(Core :: Graphics: WebRender, defect)

defect

Tracking

()

RESOLVED FIXED
90 Branch
Tracking Status
firefox90 --- fixed

People

(Reporter: jrmuizel, Assigned: jrmuizel)

Details

Attachments

(1 file)

This renames compatible_type() to can_implicitly_convert_to()
which is a better name. The parameters are also renamed to make
it more obvious what's going on. Finally, implicit conversion
of float/double to int is removed because that's not supported
by glsl.

This renames compatible_type() to can_implicitly_convert_to()
which is a better name. The parameters are renamed to make
it more obvious what's going on. A note is added about
glsl misparsing of float literals and finally, implicit conversion of
float/double to int is removed because that's not supported by glsl.

These changes let us undo the scoring changes that were added bug
1674396 because we don't accidentally end up with int versions of
functions.

Pushed by jmuizelaar@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8ab369b87f17
Improve 'compatible_type()' r=lsalzman
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: