mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-08 04:08:32 +09:00
[Fix] (gl.h|doc.cpp): Fix the wrong operations that make all "Depth" into "Common".
This commit is contained in:
@@ -591,7 +591,7 @@ const char* ImageChannelOrderString(int format)
|
||||
case 10: return "Rx";
|
||||
case 11: return "RGx";
|
||||
case 12: return "RGBx";
|
||||
case 13: return "Common";
|
||||
case 13: return "Depth";
|
||||
case 14: return "DepthStencil";
|
||||
case 15: return "sRGB";
|
||||
case 16: return "sRGBx";
|
||||
@@ -1885,7 +1885,7 @@ void Parameterize()
|
||||
|
||||
InstructionDesc[OpTypeImage].operands.push(OperandId, "'Sampled Type'");
|
||||
InstructionDesc[OpTypeImage].operands.push(OperandDimensionality, "");
|
||||
InstructionDesc[OpTypeImage].operands.push(OperandLiteralNumber, "'Common'");
|
||||
InstructionDesc[OpTypeImage].operands.push(OperandLiteralNumber, "'Depth'");
|
||||
InstructionDesc[OpTypeImage].operands.push(OperandLiteralNumber, "'Arrayed'");
|
||||
InstructionDesc[OpTypeImage].operands.push(OperandLiteralNumber, "'MS'");
|
||||
InstructionDesc[OpTypeImage].operands.push(OperandLiteralNumber, "'Sampled'");
|
||||
|
||||
Reference in New Issue
Block a user