Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OGL: remove ubo workaround #14

Merged
merged 1 commit into from Feb 4, 2014

Conversation

degasus
Copy link
Member

@degasus degasus commented Jan 30, 2014

This was only keeped for some broken mesa versions. Meanwhile most used versions should be fixed for almost a year.

@degasus
Copy link
Member Author

degasus commented Jan 30, 2014

Please don't accept this one until HdkR confirm it.

@@ -521,14 +529,6 @@ void InitDriverInfo()
if(g_ogl_config.max_samples < 1)
g_ogl_config.max_samples = 1;

if(g_Config.backend_info.bSupportsGLSLUBO && DriverDetails::HasBug(DriverDetails::BUG_BROKENUBO))

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

@neobrain
Copy link
Member

Apart from my other comment, looks good to me.

@neobrain
Copy link
Member

By the way, CC @Sonicadvance1 .

@ghost ghost assigned Sonicadvance1 Jan 31, 2014
This was only keeped for some broken mesa versions. Meanwhile most used versions should be fixed for almost a year.
@degasus
Copy link
Member Author

degasus commented Feb 1, 2014

neobrain: updated

"GPU: Does your video card support OpenGL 3.1?");
bSuccess = false;
}
else if (DriverDetails::HasBug(DriverDetails::BUG_BROKENUBO))

This comment was marked as off-topic.

@Sonicadvance1
Copy link
Contributor

Only problem I see with this is v46 qualcomm drivers just straight up sigsegv with using our UBOs.
The v46 drivers are widely used on Snapdragon 800 devices since the v4X drivers were the first to support the hardware correctly.
I don't have a v46 device to test with since I was using someone else's phone at the time to test it last time.

I only did some light testing with it last time, since it seems it is due to how large our UBOs are, I tested a UBO with only a couple array members and it worked, but I couldn't test it too much.

@neobrain
Copy link
Member

neobrain commented Feb 4, 2014

Is this something we care about?

The non-UBO code path is basically blocking the merging of tev_fixes_new, unless we want to make that code path even more complicated by supporting integer constants ...

@neobrain neobrain closed this Feb 4, 2014
@neobrain neobrain reopened this Feb 4, 2014
@neobrain
Copy link
Member

neobrain commented Feb 4, 2014

23:00 <HdkR> neobrain: I have said multiple times that I don't want Android related issues blocking desktop development
23:01 <HdkR> neobrain: I say merge it if it is blocking tev_fixes
23:02 <HdkR> I refuse to let Qualcomm block improvements

Sounds reasonable.

neobrain added a commit that referenced this pull request Feb 4, 2014
@neobrain neobrain merged commit af24ed7 into dolphin-emu:master Feb 4, 2014
@degasus degasus deleted the uboWorkaroundRemove branch February 4, 2014 22:06
@ghost ghost mentioned this pull request Feb 11, 2021
Techjar pushed a commit to Techjar/dolphin that referenced this pull request Jan 30, 2022
rapito pushed a commit to rapito/dolphin that referenced this pull request Sep 16, 2022
fix ExiStructures.h include & update submodule
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants