Lines Matching refs:u32
58 : m_pShaderBinary( reinterpret_cast<const u32*>(shaderBinary) ), in ShaderBinaryInfo()
82 s32 BuildCommonCommand( u32* bufferAddress, u32 bufferSize );
90 u32* currentBuffer = static_cast<u32*>( internal::NWGetCurrentCmdBuffer() ); in BuildCommonCommand()
91 u32* cmdBufferEnd = static_cast<u32*>( internal::NWGetCmdBufferEnd() ); in BuildCommonCommand()
92 u32 bufferSize = ut::GetOffsetFromPtr( currentBuffer, cmdBufferEnd ); in BuildCommonCommand()
105 …s32 BuildShaderProgramCommand( s32 vertexIndex, s32 geometryIndex, u32* bufferAddress, u32 bufferS…
117 u32* currentBuffer = static_cast<u32*>( internal::NWGetCurrentCmdBuffer() ); in BuildShaderProgramCommand()
118 u32* cmdBufferEnd = static_cast<u32*>( internal::NWGetCmdBufferEnd() ); in BuildShaderProgramCommand()
119 u32 bufferSize = ut::GetOffsetFromPtr( currentBuffer, cmdBufferEnd ); in BuildShaderProgramCommand()
165 u32 nameIndex; in SearchUniformIndex()
166 u32 regIndex; in SearchUniformIndex()
177 u32 nameLen = std::strlen( name ); in SearchUniformIndex()
218 u32 nameIndex; in SearchUniformIndex()
219 u32 regIndex; in SearchUniformIndex()
276 u32 nameIndex; in SearchBinadSymbolCount()
277 u32 regIndex; in SearchBinadSymbolCount()
336 u32 GetBoolConstant(s32 shaderIndex) const in GetBoolConstant()
347 u32 value[4]; in GetBoolConstant()
353 u32 boolMap = 0; in GetBoolConstant()
358 const u32* value = info.value; in GetBoolConstant()
376 u32 GetInputRegisterNum(s32 shaderIndex) const in GetInputRegisterNum()
382 u32 mask = exeInfo->inputMask; in GetInputRegisterNum()
403 u32 GetOutputRegisterNum(s32 shaderIndex) const in GetOutputRegisterNum()
407 u32 mask = exeInfo->outputMask; in GetOutputRegisterNum()
428 void GetOutputRegisterNum(s32 shaderIndex, u32* pNum, u32* pMask) const in GetOutputRegisterNum()
432 u32 mask = exeInfo->outputMask; in GetOutputRegisterNum()
443 if (pNum) { *pNum = u32(count); } in GetOutputRegisterNum()
444 if (pMask) { *pMask = u32(mask); } in GetOutputRegisterNum()
455 void GetShaderOutputRegisterNum(s32 vertexIndex, s32 geometryIndex, u32* pNum, u32* pMask) const in GetShaderOutputRegisterNum()
470 u32 mask = exeInfo->outputMask; in GetShaderOutputRegisterNum()
481 if (pNum) { *pNum = u32(count); } in GetShaderOutputRegisterNum()
482 if (pMask) { *pMask = u32(mask); } in GetShaderOutputRegisterNum()
493 void GetShaderOutputRegisterMap(s32 vertexIndex, s32 geometryIndex, u32 pOutputFormat[7]) const in GetShaderOutputRegisterMap()
499 u32 outNum = 0; in GetShaderOutputRegisterMap()
500 u32 useTex = 0; in GetShaderOutputRegisterMap()
501 u32 clock = 0; in GetShaderOutputRegisterMap()
502 u32 outMask = 0; in GetShaderOutputRegisterMap()
539 u32 c = 0; in GetShaderOutputRegisterMap()
623 u32 GetEntryAddress(s32 shaderIndex) const in GetEntryAddress()
637 u32 GetGeometryDataMode(s32 shaderIndex) const in GetGeometryDataMode()
653 u32 GetGeometryMainVertexNum(s32 shaderIndex) const in GetGeometryMainVertexNum()
669 u32 GetGeometryPatchSize(s32 shaderIndex) const in GetGeometryPatchSize()
685 u32 GetGeometryStartIndex(s32 shaderIndex) const in GetGeometryStartIndex()
714 u32 signature;
718 u32 mainAddress;
719 u32 endAddress;
726 u32 setupOffset;
727 u32 setupCount;
728 u32 labelOffset;
729 u32 labelCount;
730 u32 outmapOffset;
731 u32 outmapCount;
732 u32 bindSymbolOffset;
733 u32 bindSymbolCount;
734 u32 stringOffset;
735 u32 stringCount;
738 const u32* m_pShaderBinary;
739 u32 m_ExeImageCount;
741 const u32* m_pInstruction;
742 u32 m_InstructionCount;
743 u32 m_Swizzle[ SWIZZLE_PATTERN_MAX ];
744 u32 m_SwizzleCount;
808 void PutLoadCommand( SafeBuffer& buffer, u32 regAddr, const u32* src, u32 count ) const;
826 SafeBuffer(u32* start, s32 size) in SafeBuffer()
829 m_EndAddress( static_cast<u32*>( ut::AddOffsetToPtr(start, size) ) ), in SafeBuffer()
832 const u32* StartAddress() const { return m_StartAddress; } in StartAddress()
833 const u32* EndAddress() const { return m_EndAddress; } in EndAddress()
834 const u32* CurrentAddress() const { return m_EndAddress; } in CurrentAddress()
840 operator const u32*() const { return m_CurrentAddress; }
841 Self& operator++() { return this->MoveAddress(sizeof(u32)); }
842 … Self operator++(int) { Self tmp = *this; (void)this->MoveAddress(sizeof(u32)); return tmp; }
843 Self& operator+=(s32 count) { return this->MoveAddress(count * sizeof(u32)); }
880 s32 Write(const u32* src, s32 size) in Write()
890 s32 Write(u32 src) in Write()
892 if (!this->VerifyWriteSize(sizeof(u32))) { return -1; } in Write()
895 return sizeof(u32); in Write()
899 u32* m_StartAddress;
900 u32* m_CurrentAddress;
901 u32* m_EndAddress;
906 m_CurrentAddress = static_cast<u32*>( ut::AddOffsetToPtr(m_CurrentAddress, size) ); in MoveAddress()