Fix issues from review comments and those relevant to texelFetch
This commit is contained in:
parent
30f9258d5e
commit
04db3f5aa4
4 changed files with 45 additions and 26 deletions
|
|
@ -138,11 +138,6 @@ public:
|
|||
|
||||
bool isConstantScalar(Id resultId) const { return getOpCode(resultId) == OpConstant; }
|
||||
unsigned int getConstantScalar(Id resultId) const { return module.getInstruction(resultId)->getImmediateOperand(0); }
|
||||
bool isSignedType(Id typeId) const
|
||||
{
|
||||
assert(getTypeClass(typeId) == OpTypeInt);
|
||||
return module.getInstruction(typeId)->getImmediateOperand(1) == 0u;
|
||||
}
|
||||
|
||||
int getTypeNumColumns(Id typeId) const
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue