mahkoh

Results 122 comments of mahkoh

They continue to be rendered at integer scales (usually the fractional scale rounded up.) In my tests I did not see any problems with that.

>I mean, they should likely scale font if they do font rendering to account for that? Yes, they scale the font at the next integer scale. https://user-images.githubusercontent.com/1882250/179069105-e78bbdfa-7d93-4c0b-bf9b-c9af3ede5515.mp4 >In general I'd...

There will be at least one breaking change in the protocol: The scale type has been changed from fixed to uint with a denominator of 120. I will try to...

This is probably https://gitlab.freedesktop.org/mesa/mesa/-/issues/108

Neither of the following must become UB due to changes made to object layout. ``` rust fn dummy(p: &T) { unsafe { // getelementptr inbounds p.offset(1); } } unsafe fn...

@eddyb: Then the object cannot be smaller than the aligned_size_of because otherwise the first function is UB. @Amanieu: The first function can take a reference to `T` that lives on...

@eddyb: Ah, I see what you meant. I'll update the code above.

And to bring `size_of` back into the picture: ``` rust fn dummy2(p: &T) { unsafe { // getelementptr inbounds (p as *const _ as *const u8).offset(mem::size_of::()); } } ``` must...

Still, this optimization seems to be impossible due to the issue mentioned in the OP: > In particular, unsafe code might assume that, when given a pointer let x: *mut...

>VK_EXT_image_drm_format_modifier This extension is not available for AMD Polaris (GFX8) cards and below which are still widely used: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5882