Home
last modified time | relevance | path

Searched refs:bswap_le32 (Results 1 – 8 of 8) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xshader/src/
Ddxbc_parse.cpp38 if(bswap_le32(header->fourcc) != FOURCC_DXBC) in dxbc_parse()
40 unsigned num_chunks = bswap_le32(header->chunk_count); in dxbc_parse()
43 unsigned offset = bswap_le32(chunk_offsets[i]); in dxbc_parse()
45 unsigned fourcc = bswap_le32(chunk->fourcc); in dxbc_parse()
56 if(bswap_le32(header->fourcc) != FOURCC_DXBC) in dxbc_find_chunk()
58 unsigned num_chunks = bswap_le32(header->chunk_count); in dxbc_find_chunk()
61 unsigned offset = bswap_le32(chunk_offsets[i]); in dxbc_find_chunk()
63 if(bswap_le32(chunk->fourcc) == fourcc) in dxbc_find_chunk()
71 unsigned count = bswap_le32(sig->count); in dxbc_parse_signature()
77 param.SemanticName = (char*)&sig->count + bswap_le32(sig->elements[i].name_offset); in dxbc_parse_signature()
[all …]
Ddxbc_assemble.cpp35 data_size += sizeof(uint32_t) + sizeof(dxbc_chunk_header) + bswap_le32(chunks[i]->size); in dxbc_assemble()
42 header->fourcc = bswap_le32(FOURCC_DXBC); in dxbc_assemble()
44 header->one = bswap_le32(1); in dxbc_assemble()
45 header->total_size = bswap_le32(total_size); in dxbc_assemble()
52 chunk_offsets[i] = bswap_le32(off); in dxbc_assemble()
53 unsigned chunk_full_size = sizeof(dxbc_chunk_header) + bswap_le32(chunks[i]->size); in dxbc_assemble()
Ddxbc_dump.cpp40 …<< " offset " << ((char*)chunk - (char*)container.data) << " size " << bswap_le32(chunk->size) << … in operator <<()
Dsm4_parse.cpp55 return bswap_le32(*tokens++); in read32()
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xshader/include/
Dle32.h34 static inline uint32_t bswap_le32(uint32_t v) in bswap_le32() function
39 static inline uint32_t bswap_le32(uint32_t v) in bswap_le32() function
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xshader/tools/
Dfxdis.cpp66 sm4_program* sm4 = sm4_parse(sm4_chunk + 1, bswap_le32(sm4_chunk->size)); in main()
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d1x/tools/
Ddxbc2tgsi.cpp68 sm4_program* sm4 = sm4_parse(sm4_chunk + 1, bswap_le32(sm4_chunk->size)); in main()
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/
Dd3d11_screen.h1371 sm4.reset(sm4_parse(sm4_chunk + 1, bswap_le32(sm4_chunk->size))); in create_stage_shader()