Home
last modified time | relevance | path

Searched refs:uniform_data (Results 1 – 21 of 21) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_reorder_uniforms.c76 uint32_t *uniform_data = ralloc_array(c, uint32_t, next_uniform); in qir_reorder_uniforms() local
81 uniform_data[i] = c->uniform_data[uniform_index[i]]; in qir_reorder_uniforms()
85 ralloc_free(c->uniform_data); in qir_reorder_uniforms()
86 c->uniform_data = uniform_data; in qir_reorder_uniforms()
Dvc4_qir.c452 c->uniform_data[reg.index], in qir_print_reg()
771 c->uniform_data[i] == data) { in qir_uniform()
782 c->uniform_data = reralloc(c, c->uniform_data, in qir_uniform()
791 c->uniform_data[uniform] = data; in qir_uniform()
Dvc4_qpu_schedule.c905 c->uniform_data[*next_uniform] = in schedule_instructions()
920 c->uniform_data[*next_uniform] = in schedule_instructions()
1079 uint32_t *uniform_data = c->uniform_data; in qpu_schedule_instructions() local
1083 c->uniform_data = ralloc_array(c, uint32_t, c->num_uniforms); in qpu_schedule_instructions()
1116 uniform_data, in qpu_schedule_instructions()
Dvc4_opt_small_immediates.c84 uint32_t imm = c->uniform_data[src.index]; in qir_opt_small_immediates()
Dvc4_opt_constant_folding.c68 ui[i] = c->uniform_data[reg.index]; in constant_fold()
Dvc4_opt_algebraic.c69 c->uniform_data[reg.index] == val) { in is_constant_value()
Dvc4_program.c905 c->uniform_data[bits.index] == 16); in ntq_emit_ibfe()
909 int offset_bit = c->uniform_data[offset.index]; in ntq_emit_ibfe()
922 c->uniform_data[bits.index] == 8); in ntq_emit_ubfe()
926 int offset_bit = c->uniform_data[offset.index]; in ntq_emit_ubfe()
2500 memcpy(uinfo->data, c->uniform_data, in copy_uniform_state_to_shader()
Dvc4_qir.h453 uint32_t *uniform_data; member
/third_party/flutter/skia/third_party/externals/angle2/src/tests/test_utils/third_party/
Dvulkan_command_buffer_utils.cpp1123 res = vkCreateBuffer(info.device, &buf_info, NULL, &info.uniform_data.buf); in init_uniform_buffer()
1127 vkGetBufferMemoryRequirements(info.device, info.uniform_data.buf, &mem_reqs); in init_uniform_buffer()
1141 res = vkAllocateMemory(info.device, &alloc_info, NULL, &(info.uniform_data.mem)); in init_uniform_buffer()
1145 res = vkMapMemory(info.device, info.uniform_data.mem, 0, mem_reqs.size, 0, (void **)&pData); in init_uniform_buffer()
1150 vkUnmapMemory(info.device, info.uniform_data.mem); in init_uniform_buffer()
1152 res = vkBindBufferMemory(info.device, info.uniform_data.buf, info.uniform_data.mem, 0); in init_uniform_buffer()
1155 info.uniform_data.buffer_info.buffer = info.uniform_data.buf; in init_uniform_buffer()
1156 info.uniform_data.buffer_info.offset = 0; in init_uniform_buffer()
1157 info.uniform_data.buffer_info.range = sizeof(float) * 16; // info.MVP.data() size in init_uniform_buffer()
1426 writes[0].pBufferInfo = &info.uniform_data.buffer_info; in init_descriptor_set()
[all …]
Dvulkan_command_buffer_utils.h195 } uniform_data; member
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/third_party/
Dvulkan_command_buffer_utils.cpp1134 res = vkCreateBuffer(info.device, &buf_info, NULL, &info.uniform_data.buf); in init_uniform_buffer()
1138 vkGetBufferMemoryRequirements(info.device, info.uniform_data.buf, &mem_reqs); in init_uniform_buffer()
1152 res = vkAllocateMemory(info.device, &alloc_info, NULL, &(info.uniform_data.mem)); in init_uniform_buffer()
1156 res = vkMapMemory(info.device, info.uniform_data.mem, 0, mem_reqs.size, 0, (void **)&pData); in init_uniform_buffer()
1161 vkUnmapMemory(info.device, info.uniform_data.mem); in init_uniform_buffer()
1163 res = vkBindBufferMemory(info.device, info.uniform_data.buf, info.uniform_data.mem, 0); in init_uniform_buffer()
1166 info.uniform_data.buffer_info.buffer = info.uniform_data.buf; in init_uniform_buffer()
1167 info.uniform_data.buffer_info.offset = 0; in init_uniform_buffer()
1168 info.uniform_data.buffer_info.range = sizeof(float) * 16; // info.MVP.data() size in init_uniform_buffer()
1437 writes[0].pBufferInfo = &info.uniform_data.buffer_info; in init_descriptor_set()
[all …]
Dvulkan_command_buffer_utils.h195 } uniform_data; member
/third_party/mesa3d/src/broadcom/compiler/
Dvir_opt_small_immediates.c73 uint32_t imm = c->uniform_data[uniform]; in vir_opt_small_immediates()
Dvir_opt_constant_alu.c138 values[i].ui = c->uniform_data[def->uniform]; in try_opt_constant_alu()
Dqpu_schedule.c2173 c->uniform_data[*next_uniform] = in schedule_instructions()
2323 c->uniform_data[branch->uniform] = in qpu_set_branch_targets()
2367 uint32_t *uniform_data = c->uniform_data; in v3d_qpu_schedule_instructions() local
2371 c->uniform_data = ralloc_array(c, uint32_t, c->num_uniforms); in v3d_qpu_schedule_instructions()
2409 uniform_data, in v3d_qpu_schedule_instructions()
Dvir.c658 memcpy(ulist->data, c->uniform_data, in v3d_set_prog_data_uniforms()
1835 c->uniform_data[i] == data) { in vir_get_uniform_index()
1846 c->uniform_data = reralloc(c, c->uniform_data, in vir_get_uniform_index()
1855 c->uniform_data[uniform] = data; in vir_get_uniform_index()
Dvir_dump.c359 c->uniform_data[inst->uniform]); in vir_dump_inst()
Dvir_to_qpu.c387 c->uniform_data[next_uniform]); in v3d_dump_qpu()
Dvir_register_allocate.c317 c->uniform_data[uniform_index]); in v3d_spill_reg()
Dv3d_compiler.h797 uint32_t *uniform_data; member
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cEnhancedLayoutsTests.cpp8625 static const GLuint uniform_data[16] = { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 }; in test() local
8633 program.Uniform(gl, Utils::Type::uint, 1 /* count */, goku_location, uniform_data); in test()
8634 program.Uniform(gl, Utils::Type::uint, m_gohan_length, gohan_location, uniform_data); in test()
8635 program.Uniform(gl, Utils::Type::uint, m_goten_length, goten_location, uniform_data); in test()
24893 const std::vector<GLubyte>& uniform_data = type.GenerateData(); in test() local
24898 const GLuint uni_type_size = static_cast<GLuint>(uniform_data.size()); in test()
24909 memcpy(&uniform.m_initial_data[0] + 0 * uni_type_size, &uniform_data[0], uni_type_size); in test()
27754 std::vector<GLubyte> uniform_data; in test() local
27766 uniform_data.resize(Utils::align(uniform_data.size(), 16)); in test()
27767 uniform_data.insert(uniform_data.end(), type_uniform_data.begin(), type_uniform_data.end()); in test()
[all …]