mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08:00
shader: Fix TXD
This commit is contained in:
parent
4d0d29fc20
commit
67afdaf566
@ -71,7 +71,7 @@ public:
|
|||||||
|
|
||||||
explicit ImageOperands(EmitContext& ctx, bool has_lod_clamp, Id derivates, u32 num_derivates,
|
explicit ImageOperands(EmitContext& ctx, bool has_lod_clamp, Id derivates, u32 num_derivates,
|
||||||
Id offset, Id lod_clamp) {
|
Id offset, Id lod_clamp) {
|
||||||
if (Sirit::ValidId(derivates)) {
|
if (!Sirit::ValidId(derivates)) {
|
||||||
throw LogicError("Derivates must be present");
|
throw LogicError("Derivates must be present");
|
||||||
}
|
}
|
||||||
boost::container::static_vector<Id, 3> deriv_x_accum;
|
boost::container::static_vector<Id, 3> deriv_x_accum;
|
||||||
|
@ -403,7 +403,7 @@ OPCODE(ImageGatherDref, F32x4, U32,
|
|||||||
OPCODE(ImageFetch, F32x4, U32, Opaque, Opaque, U32, Opaque, )
|
OPCODE(ImageFetch, F32x4, U32, Opaque, Opaque, U32, Opaque, )
|
||||||
OPCODE(ImageQueryDimensions, U32x4, U32, U32, )
|
OPCODE(ImageQueryDimensions, U32x4, U32, U32, )
|
||||||
OPCODE(ImageQueryLod, F32x4, U32, Opaque, )
|
OPCODE(ImageQueryLod, F32x4, U32, Opaque, )
|
||||||
OPCODE(ImageGradient, F32x4, U32, Opaque, Opaque, Opaque, F32, )
|
OPCODE(ImageGradient, F32x4, U32, Opaque, Opaque, Opaque, Opaque, )
|
||||||
|
|
||||||
// Warp operations
|
// Warp operations
|
||||||
OPCODE(VoteAll, U1, U1, )
|
OPCODE(VoteAll, U1, U1, )
|
||||||
|
Loading…
Reference in New Issue
Block a user