Lines Matching refs:u32

60      : m_pShaderBinary( reinterpret_cast<const u32*>(shaderBinary) ),  in ShaderBinaryInfo()
96 s32 BuildCommonCommand( u32* bufferAddress, u32 bufferSize ) const;
106 u32* currentBuffer = static_cast<u32*>( internal::NWGetCurrentCmdBuffer() ); in BuildCommonCommand()
107 u32* cmdBufferEnd = static_cast<u32*>( internal::NWGetCmdBufferEnd() ); in BuildCommonCommand()
108 u32 bufferSize = ut::GetOffsetFromPtr( currentBuffer, cmdBufferEnd ); in BuildCommonCommand()
140 …s32 BuildShaderProgramCommand( s32 vertexIndex, s32 geometryIndex, u32* bufferAddress, u32 bufferS…
152 u32* currentBuffer = static_cast<u32*>( internal::NWGetCurrentCmdBuffer() ); in BuildShaderProgramCommand()
153 u32* cmdBufferEnd = static_cast<u32*>( internal::NWGetCmdBufferEnd() ); in BuildShaderProgramCommand()
154 u32 bufferSize = ut::GetOffsetFromPtr( currentBuffer, cmdBufferEnd ); in BuildShaderProgramCommand()
201 u32 nameIndex; in SearchUniformIndex()
202 u32 regIndex; in SearchUniformIndex()
213 u32 nameLen = std::strlen( name ); in SearchUniformIndex()
254 u32 nameIndex; in SearchUniformIndex()
255 u32 regIndex; in SearchUniformIndex()
312 u32 nameIndex; in SearchBinadSymbolCount()
313 u32 regIndex; in SearchBinadSymbolCount()
372 u32 GetBoolConstant(s32 shaderIndex) const in GetBoolConstant()
383 u32 value[4]; in GetBoolConstant()
389 u32 boolMap = 0; in GetBoolConstant()
394 const u32* value = info.value; in GetBoolConstant()
412 u32 GetInputRegisterNum(s32 shaderIndex) const in GetInputRegisterNum()
418 u32 mask = exeInfo->inputMask; in GetInputRegisterNum()
439 u32 GetOutputRegisterNum(s32 shaderIndex) const in GetOutputRegisterNum()
443 u32 mask = exeInfo->outputMask; in GetOutputRegisterNum()
464 void GetOutputRegisterNum(s32 shaderIndex, u32* pNum, u32* pMask) const in GetOutputRegisterNum()
468 u32 mask = exeInfo->outputMask; in GetOutputRegisterNum()
479 if (pNum) { *pNum = u32(count); } in GetOutputRegisterNum()
480 if (pMask) { *pMask = u32(mask); } in GetOutputRegisterNum()
491 void GetShaderOutputRegisterNum(s32 vertexIndex, s32 geometryIndex, u32* pNum, u32* pMask) const in GetShaderOutputRegisterNum()
506 u32 mask = exeInfo->outputMask; in GetShaderOutputRegisterNum()
517 if (pNum) { *pNum = u32(count); } in GetShaderOutputRegisterNum()
518 if (pMask) { *pMask = u32(mask); } in GetShaderOutputRegisterNum()
529 void GetShaderOutputRegisterMap(s32 vertexIndex, s32 geometryIndex, u32 pOutputFormat[7]) const in GetShaderOutputRegisterMap()
535 u32 outNum = 0; in GetShaderOutputRegisterMap()
536 u32 useTex = 0; in GetShaderOutputRegisterMap()
537 u32 clock = 0; in GetShaderOutputRegisterMap()
538 u32 outMask = 0; in GetShaderOutputRegisterMap()
575 u32 c = 0; in GetShaderOutputRegisterMap()
659 u32 GetEntryAddress(s32 shaderIndex) const in GetEntryAddress()
673 u32 GetGeometryDataMode(s32 shaderIndex) const in GetGeometryDataMode()
689 u32 GetGeometryMainVertexNum(s32 shaderIndex) const in GetGeometryMainVertexNum()
705 u32 GetGeometryPatchSize(s32 shaderIndex) const in GetGeometryPatchSize()
721 u32 GetGeometryStartIndex(s32 shaderIndex) const in GetGeometryStartIndex()
750 u32 signature;
754 u32 mainAddress;
755 u32 endAddress;
762 u32 setupOffset;
763 u32 setupCount;
764 u32 labelOffset;
765 u32 labelCount;
766 u32 outmapOffset;
767 u32 outmapCount;
768 u32 bindSymbolOffset;
769 u32 bindSymbolCount;
770 u32 stringOffset;
771 u32 stringCount;
774 const u32* m_pShaderBinary;
775 u32 m_ExeImageCount;
777 const u32* m_pInstruction;
778 u32 m_InstructionCount;
779 u32 m_Swizzle[ SWIZZLE_PATTERN_MAX ];
780 u32 m_SwizzleCount;
847 s32 GetLoadCommandSize( u32 count ) const;
858 void PutLoadCommand( SafeBuffer& buffer, u32 regAddr, const u32* src, u32 count ) const;
876 SafeBuffer(u32* start, s32 size) in SafeBuffer()
879 m_EndAddress( static_cast<u32*>( ut::AddOffsetToPtr(start, size) ) ), in SafeBuffer()
882 const u32* StartAddress() const { return m_StartAddress; } in StartAddress()
883 const u32* EndAddress() const { return m_EndAddress; } in EndAddress()
884 const u32* CurrentAddress() const { return m_EndAddress; } in CurrentAddress()
890 operator const u32*() const { return m_CurrentAddress; }
891 Self& operator++() { return this->MoveAddress(sizeof(u32)); }
892 … Self operator++(int) { Self tmp = *this; (void)this->MoveAddress(sizeof(u32)); return tmp; }
893 Self& operator+=(s32 count) { return this->MoveAddress(count * sizeof(u32)); }
930 s32 Write(const u32* src, s32 size) in Write()
940 s32 Write(u32 src) in Write()
942 if (!this->VerifyWriteSize(sizeof(u32))) { return -1; } in Write()
945 return sizeof(u32); in Write()
949 u32* m_StartAddress;
950 u32* m_CurrentAddress;
951 u32* m_EndAddress;
956 m_CurrentAddress = static_cast<u32*>( ut::AddOffsetToPtr(m_CurrentAddress, size) ); in MoveAddress()