HomeSort by: relevance | last modified time | path
    Searched refs:storage (Results 1 - 25 of 98) sorted by relevancy

1 2 3 4

  /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/tests/
uniform_initializer_utils.h 32 fill_storage_array_with_sentinels(gl_constant_value *storage,
47 verify_data(gl_constant_value *storage, unsigned storage_array_size,
copy_constant_to_storage_tests.cpp 32 copy_constant_to_storage(union gl_constant_value *storage,
50 gl_constant_value storage[17]; member in class:copy_constant_to_storage
77 const unsigned red_zone_size = ARRAY_SIZE(storage) - val->type->components();
78 fill_storage_array_with_sentinels(storage,
82 linker::copy_constant_to_storage(storage,
88 verify_data(storage, 0, val, red_zone_size, 0xF00F);
97 const unsigned red_zone_size = ARRAY_SIZE(storage) - val->type->components();
98 fill_storage_array_with_sentinels(storage,
102 linker::copy_constant_to_storage(storage,
108 verify_data(storage, 0, val, red_zone_size, 0xF00F)
    [all...]
uniform_initializer_utils.cpp 31 fill_storage_array_with_sentinels(gl_constant_value *storage,
36 storage[i].u = 0xDEADBEEF;
39 storage[data_size + i].u = 0xBADDC0DE;
46 red_zone_is_intact(gl_constant_value *storage,
53 if (storage[idx].u != 0xBADDC0DE)
55 << "storage[" << idx << "].u = " << storage[idx].u
212 uint64_storage(union gl_constant_value *storage)
215 memcpy(&val, &storage->i, sizeof(uint64_t));
220 double_storage(union gl_constant_value *storage)
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/tests/
uniform_initializer_utils.h 32 fill_storage_array_with_sentinels(gl_constant_value *storage,
47 verify_data(gl_constant_value *storage, unsigned storage_array_size,
copy_constant_to_storage_tests.cpp 32 copy_constant_to_storage(union gl_constant_value *storage,
50 gl_constant_value storage[17]; member in class:copy_constant_to_storage
73 const unsigned red_zone_size = ARRAY_SIZE(storage) - val->type->components();
74 fill_storage_array_with_sentinels(storage,
78 linker::copy_constant_to_storage(storage,
84 verify_data(storage, 0, val, red_zone_size, 0xF00F);
93 const unsigned red_zone_size = ARRAY_SIZE(storage) - val->type->components();
94 fill_storage_array_with_sentinels(storage,
98 linker::copy_constant_to_storage(storage,
104 verify_data(storage, 0, val, red_zone_size, 0xF00F)
    [all...]
uniform_initializer_utils.cpp 31 fill_storage_array_with_sentinels(gl_constant_value *storage,
36 storage[i].u = 0xDEADBEEF;
39 storage[data_size + i].u = 0xBADDC0DE;
46 red_zone_is_intact(gl_constant_value *storage,
53 if (storage[idx].u != 0xBADDC0DE)
55 << "storage[" << idx << "].u = " << storage[idx].u
212 uint64_storage(union gl_constant_value *storage)
215 memcpy(&val, &storage->i, sizeof(uint64_t));
220 double_storage(union gl_constant_value *storage)
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
gl_nir_link_uniform_initializers.c 56 struct gl_uniform_storage *storage = local
59 const unsigned elements = MAX2(storage->array_elements, 1);
62 storage->storage[i].i = data->binding++;
69 if (!storage->opaque[sh].active)
72 if (glsl_type_is_sampler(storage->type)) {
74 const unsigned index = storage->opaque[sh].index + i;
76 if (storage->is_bindless) {
80 storage->storage[i].i
216 struct gl_uniform_storage *storage = local
    [all...]
link_uniform_initializers.cpp 43 assert(!"No uniform storage found!");
48 copy_constant_to_storage(union gl_constant_value *storage,
57 storage[i].u = val->value.u[i];
61 storage[i].i = val->value.i[i];
64 storage[i].f = val->value.f[i];
70 memcpy(&storage[i * 2].u, &val->value.d[i], sizeof(double));
73 storage[i].b = val->value.b[i] ? boolean_true : 0;
101 * they have no storage and should be handled elsewhere.
119 struct gl_uniform_storage *const storage = get_storage(prog, name); local
121 if (!storage)
217 struct gl_uniform_storage *const storage = get_storage(prog, name); local
    [all...]
ir_uniform.h 115 * Storage used by the driver for the uniform
121 * Storage used by Mesa for the uniform
127 union gl_constant_value *storage; member in struct:gl_uniform_storage
175 * This is a shader storage buffer variable, not an uniform.
200 * the top-level shader storage block member (GL_TOP_LEVEL_ARRAY_SIZE).
206 * top-level shader storage block member. (GL_TOP_LEVEL_ARRAY_STRIDE).
  /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
link_uniform_initializers.cpp 43 assert(!"No uniform storage found!");
48 copy_constant_to_storage(union gl_constant_value *storage,
57 storage[i].u = val->value.u[i];
61 storage[i].i = val->value.i[i];
64 storage[i].f = val->value.f[i];
70 memcpy(&storage[i * 2].u, &val->value.d[i], sizeof(double));
73 storage[i].b = val->value.b[i] ? boolean_true : 0;
101 * they have no storage and should be handled elsewhere.
119 struct gl_uniform_storage *const storage = get_storage(prog, name); local
121 if (!storage)
217 struct gl_uniform_storage *const storage = get_storage(prog, name); local
    [all...]
gl_nir_link_uniform_initializers.c 56 struct gl_uniform_storage *storage = local
59 const unsigned elements = MAX2(storage->array_elements, 1);
62 storage->storage[i].i = data->binding++;
69 if (!storage->opaque[sh].active)
72 if (glsl_type_is_sampler(storage->type)) {
74 const unsigned index = storage->opaque[sh].index + i;
76 if (storage->is_bindless) {
80 storage->storage[i].i
210 struct gl_uniform_storage *storage = local
    [all...]
  /xsrc/external/mit/brotli/dist/c/enc/
brotli_bit_stream.c 86 const Command* cmd, size_t* storage_ix, uint8_t* storage) {
95 insnumextra + GetCopyExtra(copycode), bits, storage_ix, storage);
109 static void StoreVarLenUint8(size_t n, size_t* storage_ix, uint8_t* storage) {
111 BrotliWriteBits(1, 0, storage_ix, storage);
114 BrotliWriteBits(1, 1, storage_ix, storage);
115 BrotliWriteBits(3, nbits, storage_ix, storage);
116 BrotliWriteBits(nbits, n - ((size_t)1 << nbits), storage_ix, storage);
126 uint8_t* storage) {
132 BrotliWriteBits(1, (uint64_t)is_final_block, storage_ix, storage);
135 BrotliWriteBits(1, 0, storage_ix, storage);
    [all...]
compress_fragment.c 78 uint8_t* storage) {
113 depths, bits, storage_ix, storage);
129 uint8_t* storage) {
171 cmd_depth, BROTLI_NUM_COMMAND_SYMBOLS, tree, storage_ix, storage);
173 BrotliStoreHuffmanTree(&depth[64], 64, tree, storage_ix, storage);
182 uint8_t* storage) {
185 BrotliWriteBits(depth[code], bits[code], storage_ix, storage);
192 BrotliWriteBits(depth[inscode], bits[inscode], storage_ix, storage);
193 BrotliWriteBits(nbits, tail - (prefix << nbits), storage_ix, storage);
199 BrotliWriteBits(depth[code], bits[code], storage_ix, storage);
    [all...]
brotli_bit_stream.h 9 assumption that there is enough space in the storage, i.e., there are
13 is called "storage" and the index to the bit is called storage_ix
32 position for the current storage. */
35 HuffmanTree* tree, size_t* storage_ix, uint8_t* storage);
40 uint8_t* storage);
49 size_t* storage_ix, uint8_t* storage);
59 size_t* storage_ix, uint8_t* storage);
69 size_t* storage_ix, uint8_t* storage);
71 /* This is for storing uncompressed blocks (simple raw storage of
78 size_t* BROTLI_RESTRICT storage_ix, uint8_t* BROTLI_RESTRICT storage);
    [all...]
compress_fragment_two_pass.h 26 /* Compresses "input" string to the "*storage" buffer as one or more complete
48 uint8_t* storage);
block_encoder_inc.h 17 size_t* storage_ix, uint8_t* storage) {
29 storage_ix, storage);
compress_fragment.h 23 /* Compresses "input" string to the "*storage" buffer as one or more complete
55 uint8_t* storage);
  /xsrc/external/mit/libdrm/dist/
util_double_list.h 121 #define LIST_FOR_EACH_ENTRY_SAFE(pos, storage, head, member) \
123 storage = container_of(pos->member.next, pos, member); \
125 pos = storage, storage = container_of(storage->member.next, storage, member))
127 #define LIST_FOR_EACH_ENTRY_SAFE_REV(pos, storage, head, member) \
129 storage = container_of(pos->member.prev, pos, member); \
131 pos = storage, storage = container_of(storage->member.prev, storage, member)
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/virtio/vulkan/
vn_cs.h 11 #define VN_CS_ENCODER_BUFFER_INITIALIZER(storage) \
12 (struct vn_cs_encoder_buffer) { .base = storage, }
15 #define VN_CS_ENCODER_INITIALIZER_LOCAL(storage, size) \
18 .buffers = &VN_CS_ENCODER_BUFFER_INITIALIZER(storage), \
20 .cur = storage, .end = (const void *)(storage) + (size), \
31 #define VN_CS_DECODER_INITIALIZER(storage, size) \
34 .cur = storage, .end = (const void *)(storage) + (size), \
  /xsrc/external/mit/MesaLib/dist/src/mesa/math/
m_vector.c 79 * \param storage pointer to storage for the vector's data
82 _mesa_vector4f_init( GLvector4f *v, GLbitfield flags, GLfloat (*storage)[4] )
93 v->data = storage;
94 v->start = (GLfloat *) storage;
101 * Initialize GLvector objects and allocate storage.
113 v->storage = align_malloc( count * 4 * sizeof(GLfloat), alignment );
115 v->start = (GLfloat *) v->storage;
116 v->data = (GLfloat (*)[4]) v->storage;
124 * vector's storage field if the VEC_MALLOC flag is set
    [all...]
m_vector.h 37 #define VEC_MALLOC 0x10 /* storage field points to self-allocated mem*/
62 void *storage; /**< self-allocated storage */ member in struct:__anon2661
63 GLuint storage_count; /**< storage size in elements */
68 GLfloat (*storage)[4] );
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/math/
m_vector.c 77 * \param storage pointer to storage for the vector's data
80 _mesa_vector4f_init( GLvector4f *v, GLbitfield flags, GLfloat (*storage)[4] )
84 v->data = storage;
85 v->start = (GLfloat *) storage;
92 * Initialize GLvector objects and allocate storage.
104 v->storage = _mesa_align_malloc( count * 4 * sizeof(GLfloat), alignment );
106 v->start = (GLfloat *) v->storage;
107 v->data = (GLfloat (*)[4]) v->storage;
115 * vector's storage field if the VEC_MALLOC flag is set
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/
brw_nir_uniforms.cpp 164 * order we'd walk the type, so walk the list of storage that matches the
170 struct gl_uniform_storage *storage = local
175 * still part of the structure's storage, and so we'll see them while
178 if (storage->builtin ||
179 storage->type->is_sampler() ||
180 storage->type->is_image())
183 gl_constant_value *components = storage->storage;
184 unsigned vector_count = (MAX2(storage->array_elements, 1) *
185 storage->type->matrix_columns)
350 struct gl_uniform_storage *storage = local
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/util/
list.h 192 #define LIST_FOR_EACH_ENTRY_SAFE(pos, storage, head, member) \
194 storage = container_of(pos->member.next, pos, member); \
196 pos = storage, storage = container_of(storage->member.next, storage, member))
198 #define LIST_FOR_EACH_ENTRY_SAFE_REV(pos, storage, head, member) \
200 storage = container_of(pos->member.prev, pos, member); \
202 pos = storage, storage = container_of(storage->member.prev, storage, member)
    [all...]
  /xsrc/external/mit/MesaLib/dist/include/android_stub/cutils/
native_handle.h 64 * Initializes a native_handle_t from storage. storage must be declared with
66 * exceed maxFds and maxInts used to declare the storage.
68 native_handle_t* native_handle_init(char* storage, int numFds, int numInts);

Completed in 22 milliseconds

1 2 3 4