Lines Matching refs:u32
58 : m_pShaderBinary( reinterpret_cast<const u32*>(shaderBinary) ), in ShaderBinaryInfo()
94 s32 BuildCommonCommand( u32* bufferAddress, u32 bufferSize ) const;
104 u32* currentBuffer = static_cast<u32*>( internal::NWGetCurrentCmdBuffer() ); in BuildCommonCommand()
105 u32* cmdBufferEnd = static_cast<u32*>( internal::NWGetCmdBufferEnd() ); in BuildCommonCommand()
106 u32 bufferSize = ut::GetOffsetFromPtr( currentBuffer, cmdBufferEnd ); in BuildCommonCommand()
138 …s32 BuildShaderProgramCommand( s32 vertexIndex, s32 geometryIndex, u32* bufferAddress, u32 bufferS…
150 u32* currentBuffer = static_cast<u32*>( internal::NWGetCurrentCmdBuffer() ); in BuildShaderProgramCommand()
151 u32* cmdBufferEnd = static_cast<u32*>( internal::NWGetCmdBufferEnd() ); in BuildShaderProgramCommand()
152 u32 bufferSize = ut::GetOffsetFromPtr( currentBuffer, cmdBufferEnd ); in BuildShaderProgramCommand()
199 u32 nameIndex; in SearchUniformIndex()
200 u32 regIndex; in SearchUniformIndex()
211 u32 nameLen = std::strlen( name ); in SearchUniformIndex()
252 u32 nameIndex; in SearchUniformIndex()
253 u32 regIndex; in SearchUniformIndex()
310 u32 nameIndex; in SearchBinadSymbolCount()
311 u32 regIndex; in SearchBinadSymbolCount()
370 u32 GetBoolConstant(s32 shaderIndex) const in GetBoolConstant()
381 u32 value[4]; in GetBoolConstant()
387 u32 boolMap = 0; in GetBoolConstant()
392 const u32* value = info.value; in GetBoolConstant()
410 u32 GetInputRegisterNum(s32 shaderIndex) const in GetInputRegisterNum()
416 u32 mask = exeInfo->inputMask; in GetInputRegisterNum()
437 u32 GetOutputRegisterNum(s32 shaderIndex) const in GetOutputRegisterNum()
441 u32 mask = exeInfo->outputMask; in GetOutputRegisterNum()
462 void GetOutputRegisterNum(s32 shaderIndex, u32* pNum, u32* pMask) const in GetOutputRegisterNum()
466 u32 mask = exeInfo->outputMask; in GetOutputRegisterNum()
477 if (pNum) { *pNum = u32(count); } in GetOutputRegisterNum()
478 if (pMask) { *pMask = u32(mask); } in GetOutputRegisterNum()
489 void GetShaderOutputRegisterNum(s32 vertexIndex, s32 geometryIndex, u32* pNum, u32* pMask) const in GetShaderOutputRegisterNum()
504 u32 mask = exeInfo->outputMask; in GetShaderOutputRegisterNum()
515 if (pNum) { *pNum = u32(count); } in GetShaderOutputRegisterNum()
516 if (pMask) { *pMask = u32(mask); } in GetShaderOutputRegisterNum()
527 void GetShaderOutputRegisterMap(s32 vertexIndex, s32 geometryIndex, u32 pOutputFormat[7]) const in GetShaderOutputRegisterMap()
533 u32 outNum = 0; in GetShaderOutputRegisterMap()
534 u32 useTex = 0; in GetShaderOutputRegisterMap()
535 u32 clock = 0; in GetShaderOutputRegisterMap()
536 u32 outMask = 0; in GetShaderOutputRegisterMap()
573 u32 c = 0; in GetShaderOutputRegisterMap()
657 u32 GetEntryAddress(s32 shaderIndex) const in GetEntryAddress()
671 u32 GetGeometryDataMode(s32 shaderIndex) const in GetGeometryDataMode()
687 u32 GetGeometryMainVertexNum(s32 shaderIndex) const in GetGeometryMainVertexNum()
703 u32 GetGeometryPatchSize(s32 shaderIndex) const in GetGeometryPatchSize()
719 u32 GetGeometryStartIndex(s32 shaderIndex) const in GetGeometryStartIndex()
748 u32 signature;
752 u32 mainAddress;
753 u32 endAddress;
760 u32 setupOffset;
761 u32 setupCount;
762 u32 labelOffset;
763 u32 labelCount;
764 u32 outmapOffset;
765 u32 outmapCount;
766 u32 bindSymbolOffset;
767 u32 bindSymbolCount;
768 u32 stringOffset;
769 u32 stringCount;
772 const u32* m_pShaderBinary;
773 u32 m_ExeImageCount;
775 const u32* m_pInstruction;
776 u32 m_InstructionCount;
777 u32 m_Swizzle[ SWIZZLE_PATTERN_MAX ];
778 u32 m_SwizzleCount;
845 s32 GetLoadCommandSize( u32 count ) const;
856 void PutLoadCommand( SafeBuffer& buffer, u32 regAddr, const u32* src, u32 count ) const;
874 SafeBuffer(u32* start, s32 size) in SafeBuffer()
877 m_EndAddress( static_cast<u32*>( ut::AddOffsetToPtr(start, size) ) ), in SafeBuffer()
880 const u32* StartAddress() const { return m_StartAddress; } in StartAddress()
881 const u32* EndAddress() const { return m_EndAddress; } in EndAddress()
882 const u32* CurrentAddress() const { return m_EndAddress; } in CurrentAddress()
888 operator const u32*() const { return m_CurrentAddress; }
889 Self& operator++() { return this->MoveAddress(sizeof(u32)); }
890 … Self operator++(int) { Self tmp = *this; (void)this->MoveAddress(sizeof(u32)); return tmp; }
891 Self& operator+=(s32 count) { return this->MoveAddress(count * sizeof(u32)); }
928 s32 Write(const u32* src, s32 size) in Write()
938 s32 Write(u32 src) in Write()
940 if (!this->VerifyWriteSize(sizeof(u32))) { return -1; } in Write()
943 return sizeof(u32); in Write()
947 u32* m_StartAddress;
948 u32* m_CurrentAddress;
949 u32* m_EndAddress;
954 m_CurrentAddress = static_cast<u32*>( ut::AddOffsetToPtr(m_CurrentAddress, size) ); in MoveAddress()