Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upPossible workaround for Intel GPU bug with nested structs #1949
Conversation
NiLSPACE
commented
Oct 26, 2017
|
I could try, but I've never compiled Servo before, so I'll have to figure that out first. Once I got that working how can I make sure I get this version of WebRender? |
|
@NiLSPACE I don't think you even need Servo to test this. git clone https://github.com/kvark/webrender -b glsl
cd webrender/webrender
cargo run --example yuvThen wait till stuff apears in the window ~ 5-10 sec git checkout HEAD^
cargo run --example yuvThis is supposed to fail. |
NiLSPACE
commented
Oct 26, 2017
|
Unfortunately I get lots of linking errors due to the machine type (x86) conflicting with the target (x64) so I'll need to figure that out first. I'll get back to this tomorrow. |
|
|
NiLSPACE
commented
Oct 28, 2017
|
I'm a day late, I apologise. I managed to compile WebRender with the example, but unfortunately it doesn't seem like it worked. This was the output in the console:
|
|
@NiLSPACE could you verify that you are getting the original bug when running WR master branch as opposed to my fix? |
|
This one actually looks like https://github.com/servo/webrender/wiki/Driver-issues#1251---returning-with-struct-constructor:
|
658029b
to
822096e
|
I re-implemented the fix on rebased code and added this other workaround. |
NiLSPACE
commented
Oct 28, 2017
|
It's still reporting the same error:
|
|
Thanks @NiLSPACE ! This is not exactly the same error - line numbers are different, they correspond to: ImageMaskData fetch_mask_data(ivec2 address) {
vec4 data = fetch_from_resource_cache_1_direct(address);
return ImageMaskData(RectWithSize(data.xy, data.zw));
}A fix for this function is now also pushed to the |
NiLSPACE
commented
Oct 29, 2017
|
It's working without errors or warnings now. |
|
Marvelous! |
|
Thanks! @bors-servo r+ |
|
|
Possible workaround for Intel GPU bug with nested structs Potentially fixes #1939 @NiLSPACE would you be able to test? I suspect just as simple `cd webrender && cargo run --example yuv` should be sufficient. Thanks! <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/1949) <!-- Reviewable:end -->
|
|
kvark commentedOct 26, 2017
•
edited by larsbergstrom
Potentially fixes #1939
@NiLSPACE would you be able to test? I suspect just as simple
cd webrender && cargo run --example yuvshould be sufficient. Thanks!This change is