Home
last modified time | relevance | path

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

/external/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.c414 c->uniform_data[reg.index], in qir_print_reg()
415 uif(c->uniform_data[reg.index])); in qir_print_reg()
724 c->uniform_data[i] == data) { in qir_uniform()
735 c->uniform_data = reralloc(c, c->uniform_data, in qir_uniform()
744 c->uniform_data[uniform] = data; in qir_uniform()
Dvc4_qpu_schedule.c942 c->uniform_data[*next_uniform] = in schedule_instructions()
958 c->uniform_data[*next_uniform] = in schedule_instructions()
1116 uint32_t *uniform_data = c->uniform_data; in qpu_schedule_instructions() local
1120 c->uniform_data = ralloc_array(c, uint32_t, c->num_uniforms); in qpu_schedule_instructions()
1153 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.c912 c->uniform_data[bits.index] == 16); in ntq_emit_ibfe()
916 int offset_bit = c->uniform_data[offset.index]; in ntq_emit_ibfe()
929 c->uniform_data[bits.index] == 8); in ntq_emit_ubfe()
933 int offset_bit = c->uniform_data[offset.index]; in ntq_emit_ubfe()
2447 memcpy(uinfo->data, c->uniform_data, in copy_uniform_state_to_shader()
Dvc4_qir.h489 uint32_t *uniform_data; member
/external/vulkan-validation-layers/demos/
Dcube.cpp330 device.destroyBuffer(uniform_data.buf, nullptr); in cleanup()
331 device.freeMemory(uniform_data.mem, nullptr); in cleanup()
1466 device.createBuffer(&buf_info, nullptr, &uniform_data.buf); in prepare_cube_data_buffer()
1470 device.getBufferMemoryRequirements(uniform_data.buf, &mem_reqs); in prepare_cube_data_buffer()
1472 uniform_data.mem_alloc.setAllocationSize(mem_reqs.size); in prepare_cube_data_buffer()
1473 uniform_data.mem_alloc.setMemoryTypeIndex(0); in prepare_cube_data_buffer()
1479 &uniform_data.mem_alloc.memoryTypeIndex); in prepare_cube_data_buffer()
1482 result = device.allocateMemory(&uniform_data.mem_alloc, nullptr, in prepare_cube_data_buffer()
1483 &(uniform_data.mem)); in prepare_cube_data_buffer()
1486 auto pData = device.mapMemory(uniform_data.mem, 0, in prepare_cube_data_buffer()
[all …]
Dcube.c380 } uniform_data; member
766 err = vkMapMemory(demo->device, demo->uniform_data.mem, 0, in demo_update_data_buffer()
767 demo->uniform_data.mem_alloc.allocationSize, 0, in demo_update_data_buffer()
773 vkUnmapMemory(demo->device, demo->uniform_data.mem); in demo_update_data_buffer()
1486 vkCreateBuffer(demo->device, &buf_info, NULL, &demo->uniform_data.buf); in demo_prepare_cube_data_buffer()
1489 vkGetBufferMemoryRequirements(demo->device, demo->uniform_data.buf, in demo_prepare_cube_data_buffer()
1492 demo->uniform_data.mem_alloc.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in demo_prepare_cube_data_buffer()
1493 demo->uniform_data.mem_alloc.pNext = NULL; in demo_prepare_cube_data_buffer()
1494 demo->uniform_data.mem_alloc.allocationSize = mem_reqs.size; in demo_prepare_cube_data_buffer()
1495 demo->uniform_data.mem_alloc.memoryTypeIndex = 0; in demo_prepare_cube_data_buffer()
[all …]