Struct mozangle::shaders::ffi::ShCompileOptions
source · #[repr(C, align(8))]pub struct ShCompileOptions {
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8]>,
pub metal: ShCompileOptionsMetal,
pub pls: ShCompileOptionsPLS,
}
Fields§
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 8]>
§metal: ShCompileOptionsMetal
§pls: ShCompileOptionsPLS
Implementations§
source§impl ShCompileOptions
impl ShCompileOptions
pub fn objectCode(&self) -> u64
pub fn set_objectCode(&mut self, val: u64)
pub fn variables(&self) -> u64
pub fn set_variables(&mut self, val: u64)
pub fn sourcePath(&self) -> u64
pub fn set_sourcePath(&mut self, val: u64)
pub fn intermediateTree(&self) -> u64
pub fn set_intermediateTree(&mut self, val: u64)
pub fn validateAST(&self) -> u64
pub fn set_validateAST(&mut self, val: u64)
pub fn validateLoopIndexing(&self) -> u64
pub fn set_validateLoopIndexing(&mut self, val: u64)
pub fn lineDirectives(&self) -> u64
pub fn set_lineDirectives(&mut self, val: u64)
pub fn removeInvariantAndCentroidForESSL3(&self) -> u64
pub fn set_removeInvariantAndCentroidForESSL3(&mut self, val: u64)
pub fn emulateAbsIntFunction(&self) -> u64
pub fn set_emulateAbsIntFunction(&mut self, val: u64)
pub fn enforcePackingRestrictions(&self) -> u64
pub fn set_enforcePackingRestrictions(&mut self, val: u64)
pub fn clampIndirectArrayBounds(&self) -> u64
pub fn set_clampIndirectArrayBounds(&mut self, val: u64)
pub fn limitExpressionComplexity(&self) -> u64
pub fn set_limitExpressionComplexity(&mut self, val: u64)
pub fn limitCallStackDepth(&self) -> u64
pub fn set_limitCallStackDepth(&mut self, val: u64)
pub fn initGLPosition(&self) -> u64
pub fn set_initGLPosition(&mut self, val: u64)
pub fn initGLPointSize(&self) -> u64
pub fn set_initGLPointSize(&mut self, val: u64)
pub fn unfoldShortCircuit(&self) -> u64
pub fn set_unfoldShortCircuit(&mut self, val: u64)
pub fn initOutputVariables(&self) -> u64
pub fn set_initOutputVariables(&mut self, val: u64)
pub fn scalarizeVecAndMatConstructorArgs(&self) -> u64
pub fn set_scalarizeVecAndMatConstructorArgs(&mut self, val: u64)
pub fn regenerateStructNames(&self) -> u64
pub fn set_regenerateStructNames(&mut self, val: u64)
pub fn rewriteDoWhileLoops(&self) -> u64
pub fn set_rewriteDoWhileLoops(&mut self, val: u64)
pub fn expandSelectHLSLIntegerPowExpressions(&self) -> u64
pub fn set_expandSelectHLSLIntegerPowExpressions(&mut self, val: u64)
pub fn flattenPragmaSTDGLInvariantAll(&self) -> u64
pub fn set_flattenPragmaSTDGLInvariantAll(&mut self, val: u64)
pub fn HLSLGetDimensionsIgnoresBaseLevel(&self) -> u64
pub fn set_HLSLGetDimensionsIgnoresBaseLevel(&mut self, val: u64)
pub fn rewriteTexelFetchOffsetToTexelFetch(&self) -> u64
pub fn set_rewriteTexelFetchOffsetToTexelFetch(&mut self, val: u64)
pub fn addAndTrueToLoopCondition(&self) -> u64
pub fn set_addAndTrueToLoopCondition(&mut self, val: u64)
pub fn rewriteIntegerUnaryMinusOperator(&self) -> u64
pub fn set_rewriteIntegerUnaryMinusOperator(&mut self, val: u64)
pub fn emulateIsnanFloatFunction(&self) -> u64
pub fn set_emulateIsnanFloatFunction(&mut self, val: u64)
pub fn rewriteFloatUnaryMinusOperator(&self) -> u64
pub fn set_rewriteFloatUnaryMinusOperator(&mut self, val: u64)
pub fn emulateAtan2FloatFunction(&self) -> u64
pub fn set_emulateAtan2FloatFunction(&mut self, val: u64)
pub fn initializeUninitializedLocals(&self) -> u64
pub fn set_initializeUninitializedLocals(&mut self, val: u64)
pub fn initializeBuiltinsForInstancedMultiview(&self) -> u64
pub fn set_initializeBuiltinsForInstancedMultiview(&mut self, val: u64)
pub fn selectViewInNvGLSLVertexShader(&self) -> u64
pub fn set_selectViewInNvGLSLVertexShader(&mut self, val: u64)
pub fn clampPointSize(&self) -> u64
pub fn set_clampPointSize(&mut self, val: u64)
pub fn addAdvancedBlendEquationsEmulation(&self) -> u64
pub fn set_addAdvancedBlendEquationsEmulation(&mut self, val: u64)
pub fn dontUseLoopsToInitializeVariables(&self) -> u64
pub fn set_dontUseLoopsToInitializeVariables(&mut self, val: u64)
pub fn skipD3DConstantRegisterZero(&self) -> u64
pub fn set_skipD3DConstantRegisterZero(&mut self, val: u64)
pub fn clampFragDepth(&self) -> u64
pub fn set_clampFragDepth(&mut self, val: u64)
pub fn rewriteRepeatedAssignToSwizzled(&self) -> u64
pub fn set_rewriteRepeatedAssignToSwizzled(&mut self, val: u64)
pub fn emulateGLDrawID(&self) -> u64
pub fn set_emulateGLDrawID(&mut self, val: u64)
pub fn forceAtomicValueResolution(&self) -> u64
pub fn set_forceAtomicValueResolution(&mut self, val: u64)
pub fn emulateGLBaseVertexBaseInstance(&self) -> u64
pub fn set_emulateGLBaseVertexBaseInstance(&mut self, val: u64)
pub fn emulateSeamfulCubeMapSampling(&self) -> u64
pub fn set_emulateSeamfulCubeMapSampling(&mut self, val: u64)
pub fn takeVideoTextureAsExternalOES(&self) -> u64
pub fn set_takeVideoTextureAsExternalOES(&mut self, val: u64)
pub fn addBaseVertexToVertexID(&self) -> u64
pub fn set_addBaseVertexToVertexID(&mut self, val: u64)
pub fn removeDynamicIndexingOfSwizzledVector(&self) -> u64
pub fn set_removeDynamicIndexingOfSwizzledVector(&mut self, val: u64)
pub fn allowTranslateUniformBlockToStructuredBuffer(&self) -> u64
pub fn set_allowTranslateUniformBlockToStructuredBuffer(&mut self, val: u64)
pub fn addVulkanYUVLayoutQualifier(&self) -> u64
pub fn set_addVulkanYUVLayoutQualifier(&mut self, val: u64)
pub fn disableARBTextureRectangle(&self) -> u64
pub fn set_disableARBTextureRectangle(&mut self, val: u64)
pub fn rewriteRowMajorMatrices(&self) -> u64
pub fn set_rewriteRowMajorMatrices(&mut self, val: u64)
pub fn ignorePrecisionQualifiers(&self) -> u64
pub fn set_ignorePrecisionQualifiers(&mut self, val: u64)
pub fn addVulkanDepthCorrection(&self) -> u64
pub fn set_addVulkanDepthCorrection(&mut self, val: u64)
pub fn forceShaderPrecisionHighpToMediump(&self) -> u64
pub fn set_forceShaderPrecisionHighpToMediump(&mut self, val: u64)
pub fn useSpecializationConstant(&self) -> u64
pub fn set_useSpecializationConstant(&mut self, val: u64)
pub fn addVulkanXfbEmulationSupportCode(&self) -> u64
pub fn set_addVulkanXfbEmulationSupportCode(&mut self, val: u64)
pub fn addVulkanXfbExtensionSupportCode(&self) -> u64
pub fn set_addVulkanXfbExtensionSupportCode(&mut self, val: u64)
pub fn initFragmentOutputVariables(&self) -> u64
pub fn set_initFragmentOutputVariables(&mut self, val: u64)
pub fn generateSpirvThroughGlslang(&self) -> u64
pub fn set_generateSpirvThroughGlslang(&mut self, val: u64)
pub fn addExplicitBoolCasts(&self) -> u64
pub fn set_addExplicitBoolCasts(&mut self, val: u64)
pub fn roundOutputAfterDithering(&self) -> u64
pub fn set_roundOutputAfterDithering(&mut self, val: u64)
pub fn precisionSafeDivision(&self) -> u64
pub fn set_precisionSafeDivision(&mut self, val: u64)
pub fn passHighpToPackUnormSnormBuiltins(&self) -> u64
pub fn set_passHighpToPackUnormSnormBuiltins(&mut self, val: u64)
pub fn new_bitfield_1( objectCode: u64, variables: u64, sourcePath: u64, intermediateTree: u64, validateAST: u64, validateLoopIndexing: u64, lineDirectives: u64, removeInvariantAndCentroidForESSL3: u64, emulateAbsIntFunction: u64, enforcePackingRestrictions: u64, clampIndirectArrayBounds: u64, limitExpressionComplexity: u64, limitCallStackDepth: u64, initGLPosition: u64, initGLPointSize: u64, unfoldShortCircuit: u64, initOutputVariables: u64, scalarizeVecAndMatConstructorArgs: u64, regenerateStructNames: u64, rewriteDoWhileLoops: u64, expandSelectHLSLIntegerPowExpressions: u64, flattenPragmaSTDGLInvariantAll: u64, HLSLGetDimensionsIgnoresBaseLevel: u64, rewriteTexelFetchOffsetToTexelFetch: u64, addAndTrueToLoopCondition: u64, rewriteIntegerUnaryMinusOperator: u64, emulateIsnanFloatFunction: u64, useUnusedStandardSharedBlocks: u64, rewriteFloatUnaryMinusOperator: u64, emulateAtan2FloatFunction: u64, initializeUninitializedLocals: u64, initializeBuiltinsForInstancedMultiview: u64, selectViewInNvGLSLVertexShader: u64, clampPointSize: u64, addAdvancedBlendEquationsEmulation: u64, dontUseLoopsToInitializeVariables: u64, skipD3DConstantRegisterZero: u64, clampFragDepth: u64, rewriteRepeatedAssignToSwizzled: u64, emulateGLDrawID: u64, initSharedVariables: u64, forceAtomicValueResolution: u64, emulateGLBaseVertexBaseInstance: u64, emulateSeamfulCubeMapSampling: u64, takeVideoTextureAsExternalOES: u64, addBaseVertexToVertexID: u64, removeDynamicIndexingOfSwizzledVector: u64, allowTranslateUniformBlockToStructuredBuffer: u64, addVulkanYUVLayoutQualifier: u64, disableARBTextureRectangle: u64, rewriteRowMajorMatrices: u64, ignorePrecisionQualifiers: u64, addVulkanDepthCorrection: u64, forceShaderPrecisionHighpToMediump: u64, useSpecializationConstant: u64, addVulkanXfbEmulationSupportCode: u64, addVulkanXfbExtensionSupportCode: u64, initFragmentOutputVariables: u64, generateSpirvThroughGlslang: u64, addExplicitBoolCasts: u64, roundOutputAfterDithering: u64, precisionSafeDivision: u64, passHighpToPackUnormSnormBuiltins: u64, ) -> __BindgenBitfieldUnit<[u8; 8]>
pub unsafe fn new() -> Self
pub unsafe fn new1(other: *const ShCompileOptions) -> Self
Trait Implementations§
source§impl Clone for ShCompileOptions
impl Clone for ShCompileOptions
source§fn clone(&self) -> ShCompileOptions
fn clone(&self) -> ShCompileOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ShCompileOptions
impl Debug for ShCompileOptions
impl Copy for ShCompileOptions
Auto Trait Implementations§
impl Freeze for ShCompileOptions
impl RefUnwindSafe for ShCompileOptions
impl Send for ShCompileOptions
impl Sync for ShCompileOptions
impl Unpin for ShCompileOptions
impl UnwindSafe for ShCompileOptions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more