shader: Implement FLO
This commit is contained in:
parent
e038928616
commit
103b9da4f7
8 changed files with 75 additions and 18 deletions
|
@ -110,8 +110,16 @@ Id EmitBitCount32(EmitContext& ctx, Id value) {
|
|||
return ctx.OpBitCount(ctx.U32[1], value);
|
||||
}
|
||||
|
||||
Id EmitBitwiseNot32(EmitContext& ctx, Id a) {
|
||||
return ctx.OpNot(ctx.U32[1], a);
|
||||
Id EmitBitwiseNot32(EmitContext& ctx, Id value) {
|
||||
return ctx.OpNot(ctx.U32[1], value);
|
||||
}
|
||||
|
||||
Id EmitFindSMsb32(EmitContext& ctx, Id value) {
|
||||
return ctx.OpFindSMsb(ctx.U32[1], value);
|
||||
}
|
||||
|
||||
Id EmitFindUMsb32(EmitContext& ctx, Id value) {
|
||||
return ctx.OpFindUMsb(ctx.U32[1], value);
|
||||
}
|
||||
|
||||
Id EmitSMin32(EmitContext& ctx, Id a, Id b) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue