Originally posted by dungeon
View Post
Announcement
Collapse
No announcement yet.
Mesa Git Should Now Work With Intel/RADV Vulkan For Doom Under Wine
Collapse
X
-
- Likes 3
-
Originally posted by VikingGe View PostYou shouldn't blame either, since this was apparently caused by the shader compiler that ships with the Vulkan SDK. Doom developers probably won't care about the generated SPIR-V, and the drivers aren't doing anything wrong if they magically make something work that isn't even specified. It might even be coincidence that it works on those drivers.
a) If you are coding for Vulkan, you most certainly should read the spec. Vulkan spec is more like an API documentation and therefore very developer-friendly, you probably won't get very far without it in the first place.
b) Use validation layers, that's what they are for.
c) Test on as many implementations as possible.
But none of that would have prevented this particular problem from happening.
- Likes 3
Leave a comment:
-
Originally posted by Farmboy0 View PostThis is a horrible idea, working around application bugs in the driver, no matter what or who caused it.
Instead you have hundreds of engines, versions, revisions... that is like hundreds of people go to medic and are claimed equal healty all around, well they are not. On average they might be enough to pass required tests you have setted up currently, but some of them would need different workarounds anyway
Horrible idea is to expect how anybody can fix themselfs all the time even without medic Say, John Rambo is character that exist only in movies, reality is not like that Otherwise i am afraid only fictional characters like him will use your API properlyLast edited by dungeon; 21 June 2017, 05:30 AM.
Leave a comment:
-
This is a horrible idea, working around application bugs in the driver, no matter what or who caused it.
- Likes 1
Leave a comment:
-
Originally posted by nanonyme View PostI blame the proprietary drivers for this, not Doom developers.
Originally posted by nanonyme View PostNot everyone reads the spec religiously and if the driver works with your code, how will you ever know your code had a bug?
b) Use validation layers, that's what they are for.
c) Test on as many implementations as possible.
But none of that would have prevented this particular problem from happening.Last edited by VikingGe; 21 June 2017, 04:33 AM.
- Likes 1
Leave a comment:
-
Originally posted by humbug View PostBad trend.
Expecting that any APIs are perfect is plain crazy, do anyone claim how all the way from initial API version up to the very recent one everything was correct and that drivers were correct all the time? Esspecially early adopters app devs who deal with unfinished API, unfinished alpha/beta drivers, sometimes they even want to do exactly what current API does not but is in current discussion and might be or not be allowed in future, etc...
If nVidia and AMD blobs alows that and don't complain, well who are you to claim that they are wrong... and that even by running app which is not even native
I don't blame anybody, people nor what people do is never perfect and if someone wanna claim the opposite he can find something interesting in his ass - there is some rigorous shit there isn't itLast edited by dungeon; 21 June 2017, 04:36 AM.
- Likes 1
Leave a comment:
-
I blame the proprietary drivers for this, not Doom developers. Not everyone reads the spec religiously and if the driver works with your code, how will you ever know your code had a bug? For that reason as well it might be better to hide this behind some whitelist so if someone actually tests their game on new Mesa, they won't create the same bug
- Likes 3
Leave a comment:
-
We need a public database listing all those game bugs and corresponding fixes in the driver, in the hope that game devs looking at this and fixing their bugs.
But I dont think its a good idea to let the users wait for months for fixes just because we expect that game devs fix their bugs right after we reported them. Dooms last update was in December since then we wait for something to happen.
Its sad not every company is like Feral...
Leave a comment:
-
You know, one way to avoid putting crap like this in the driver, is to make a layer for it.
- Likes 3
Leave a comment:
-
Hmm - this may be an uncommon suggestion, but why not have an optional package for "app-optimization"? Something like "mesa-gaming-lib"?
In the end - if this trend continues - we would have hundreds of game-specific optimizations in the driver, which isn't really the idea behind a driver. It could also be used as "wall of shame".
- Likes 3
Leave a comment:
Leave a comment: