shader: Fix TXD
This commit is contained in:
parent
4d0d29fc20
commit
67afdaf566
2 changed files with 2 additions and 2 deletions
|
@ -71,7 +71,7 @@ public:
|
|||
|
||||
explicit ImageOperands(EmitContext& ctx, bool has_lod_clamp, Id derivates, u32 num_derivates,
|
||||
Id offset, Id lod_clamp) {
|
||||
if (Sirit::ValidId(derivates)) {
|
||||
if (!Sirit::ValidId(derivates)) {
|
||||
throw LogicError("Derivates must be present");
|
||||
}
|
||||
boost::container::static_vector<Id, 3> deriv_x_accum;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue