mesa: minor comment reformatting, whitespace fixes in mtypes.h

Trivial.
This commit is contained in:
Brian Paul 2018-01-25 12:37:14 -07:00
parent 131e871385
commit d9832f1fc4
1 changed files with 54 additions and 43 deletions

View File

@ -526,7 +526,6 @@ struct gl_colorbuffer_attrib
GLboolean ColorLogicOpEnabled; /**< RGBA logic op enabled flag */
GLenum LogicOp; /**< Logic operator */
enum gl_logicop_mode _LogicOp;
/*@}*/
GLboolean DitherFlag; /**< Dither enable flag */
@ -2130,7 +2129,8 @@ struct gl_program
GLint RefCount;
GLubyte *String; /**< Null-terminated program text */
GLenum Target; /**< GL_VERTEX/FRAGMENT_PROGRAM_ARB, GL_GEOMETRY_PROGRAM_NV */
/** GL_VERTEX/FRAGMENT_PROGRAM_ARB, GL_GEOMETRY_PROGRAM_NV */
GLenum Target;
GLenum Format; /**< String encoding format */
GLboolean _Used; /**< Ever used for drawing? Used for debugging */
@ -2146,11 +2146,16 @@ struct gl_program
/** Is this program written to on disk shader cache */
bool program_written_to_cache;
GLbitfield64 SecondaryOutputsWritten; /**< Subset of OutputsWritten outputs written with non-zero index. */
GLbitfield TexturesUsed[MAX_COMBINED_TEXTURE_IMAGE_UNITS]; /**< TEXTURE_x_BIT bitmask */
GLbitfield SamplersUsed; /**< Bitfield of which samplers are used */
GLbitfield ShadowSamplers; /**< Texture units used for shadow sampling. */
GLbitfield ExternalSamplersUsed; /**< Texture units used for samplerExternalOES */
/** Subset of OutputsWritten outputs written with non-zero index. */
GLbitfield64 SecondaryOutputsWritten;
/** TEXTURE_x_BIT bitmask */
GLbitfield TexturesUsed[MAX_COMBINED_TEXTURE_IMAGE_UNITS];
/** Bitfield of which samplers are used */
GLbitfield SamplersUsed;
/** Texture units used for shadow sampling. */
GLbitfield ShadowSamplers;
/** Texture units used for samplerExternalOES */
GLbitfield ExternalSamplersUsed;
/* Fragement shader only fields */
GLboolean OriginUpperLeft;
@ -2367,7 +2372,8 @@ struct gl_tess_eval_program_state
*/
struct gl_geometry_program_state
{
/** Currently enabled and valid program (including internal programs
/**
* Currently enabled and valid program (including internal programs
* and compiled shader programs).
*/
struct gl_program *_Current;
@ -2384,7 +2390,8 @@ struct gl_fragment_program_state
struct gl_program *Current; /**< User-bound fragment program */
/** Currently enabled and valid fragment program (including internal
/**
* Currently enabled and valid fragment program (including internal
* programs, user-defined fragment programs and GLSL fragment shaders).
* This is the program we must use when rendering.
*/
@ -2433,12 +2440,16 @@ struct ati_fragment_shader
GLubyte numArithInstr[2];
GLubyte regsAssigned[2];
GLubyte NumPasses; /**< 1 or 2 */
/** Current compile stage: 0 setup pass1, 1 arith pass1, 2 setup pass2, 3 arith pass2 */
/**
* Current compile stage: 0 setup pass1, 1 arith pass1,
* 2 setup pass2, 3 arith pass2.
*/
GLubyte cur_pass;
GLubyte last_optype;
GLboolean interpinp1;
GLboolean isValid;
/** Array of 2 bit values for each tex unit to remember whether
/**
* Array of 2 bit values for each tex unit to remember whether
* STR or STQ swizzle was used
*/
GLuint swizzlerq;
@ -3080,7 +3091,8 @@ struct gl_shader_program
*/
struct gl_linked_shader *_LinkedShaders[MESA_SHADER_STAGES];
/* True if any of the fragment shaders attached to this program use:
/**
* True if any of the fragment shaders attached to this program use:
* #extension ARB_fragment_coord_conventions: enable
*/
GLboolean ARB_fragment_coord_conventions_enable;
@ -3131,9 +3143,7 @@ struct gl_pipeline_object
struct gl_shader_program *ActiveProgram;
GLbitfield Flags; /**< Mask of GLSL_x flags */
GLboolean EverBound; /**< Has the pipeline object been created */
GLboolean Validated; /**< Pipeline Validation status */
GLchar *InfoLog;
@ -3147,7 +3157,7 @@ struct gl_pipeline_shader_state
/** Currently bound pipeline object. See _mesa_BindProgramPipeline() */
struct gl_pipeline_object *Current;
/* Default Object to ensure that _Shader is never NULL */
/** Default Object to ensure that _Shader is never NULL */
struct gl_pipeline_object *Default;
/** Pipeline objects */
@ -3193,7 +3203,8 @@ struct gl_shader_compiler_options
*/
GLboolean OptimizeForAOS;
GLboolean LowerBufferInterfaceBlocks; /**< Lower UBO and SSBO access to intrinsics. */
/** Lower UBO and SSBO access to intrinsics. */
GLboolean LowerBufferInterfaceBlocks;
/** Clamp UBO and SSBO block indices so they don't go out-of-bounds. */
GLboolean ClampBlockIndicesToArrayBounds;