| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
|
|
|
|
| |
Some implementations don't support the lineWidth-feature, so let's
avoid setting invalid state to them. But since we don't have a fallback
for this, inform the user.
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
|
|
|
|
| |
The driver can report a minimum alignment for UBOs, and that can be
larger than 64, which we've currently been using. Let's play ball, and
use the reported value instead.
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
There's two things that goes wrong in this code on some drivers:
1. Rounding off the line-width to granularity can push it outside the
legal range.
2. A granularity of 0.0 results in NaN, because we divide by zero.
So let's make this code a bit more robust.
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
|
|
| |
This fixes Quake3, and is more in line with directx semantics.
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
|
|
| |
This gets rid of the nasty location-allocation hack.
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
|
|
|
|
| |
We're now adding interface-types during code-emitting, so we need to
defer emitting the entry-point. No biggie, spirv_builder is prepares for
this.
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
|
|
|
|
| |
This is the only call-site that wants to specify unique values per
component for any of the get_*_constant functions. So let's give this
its own implementation instead, so we can ease the burden for the rest.
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
|
|
|
| |
While we're at it, let's move emit_float_const to the same location as
this needs to be defined at.
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
|
|
|
| |
This is going to make it easier to verify that 1-bit float sizes don't
leak into the rest of the code.
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
|
|
|
| |
HACK because we assert that we don't overrun the pool. We need a
fallback here instead.
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
|
|
|
| |
We don't implement the get_timestamp context-method, so this is just
going to crash if anyone tries to use it. Let's implement it later.
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
|
|
|
| |
This isn't as inaccurate as the comment says, the Vulkan documentation
even seems to suggest this is the same. Let's drop the comment.
Acked-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Acked-by: Jordan Justen <[email protected]>
|