Home
last modified time | relevance | path

Searched refs:ubos (Results 1 – 18 of 18) sorted by relevance

/external/angle/third_party/vulkan-deps/glslang/src/Test/baseResults/
Dspv.nonuniform5.frag.out21 Name 13 "ubos"
26 Decorate 13(ubos) DescriptorSet 0
27 Decorate 13(ubos) Binding 0
42 13(ubos): 12(ptr) Variable Uniform
52 21: 20(ptr) AccessChain 13(ubos) 18 19
/external/deqp-deps/glslang/Test/baseResults/
Dspv.nonuniform5.frag.out21 Name 13 "ubos"
26 Decorate 13(ubos) DescriptorSet 0
27 Decorate 13(ubos) Binding 0
42 13(ubos): 12(ptr) Variable Uniform
52 21: 20(ptr) AccessChain 13(ubos) 18 19
/external/angle/third_party/vulkan-deps/glslang/src/Test/
Dspv.nonuniform5.frag10 } ubos[];
14 FragColor = ubos[nonuniformEXT(Index)].v;
/external/deqp-deps/glslang/Test/
Dspv.nonuniform5.frag10 } ubos[];
14 FragColor = ubos[nonuniformEXT(Index)].v;
/external/mesa3d/src/gallium/drivers/zink/
Dzink_draw.c317 … assert(ctx->ubos[i][index].buffer_size <= screen->info.props.limits.maxUniformBufferRange); in zink_draw_vbo()
318 struct zink_resource *res = zink_resource(ctx->ubos[i][index].buffer); in zink_draw_vbo()
319 assert(!res || ctx->ubos[i][index].buffer_size > 0); in zink_draw_vbo()
320 assert(!res || ctx->ubos[i][index].buffer); in zink_draw_vbo()
326 buffer_infos[num_buffer_info].offset = res ? ctx->ubos[i][index].buffer_offset : 0; in zink_draw_vbo()
327 … buffer_infos[num_buffer_info].range = res ? ctx->ubos[i][index].buffer_size : VK_WHOLE_SIZE; in zink_draw_vbo()
Dzink_context.c515 pipe_resource_reference(&ctx->ubos[shader][index].buffer, buffer); in zink_set_constant_buffer()
516 ctx->ubos[shader][index].buffer_offset = offset; in zink_set_constant_buffer()
517 ctx->ubos[shader][index].buffer_size = cb->buffer_size; in zink_set_constant_buffer()
518 ctx->ubos[shader][index].user_buffer = NULL; in zink_set_constant_buffer()
523 pipe_resource_reference(&ctx->ubos[shader][index].buffer, NULL); in zink_set_constant_buffer()
524 ctx->ubos[shader][index].buffer_offset = 0; in zink_set_constant_buffer()
525 ctx->ubos[shader][index].buffer_size = 0; in zink_set_constant_buffer()
526 ctx->ubos[shader][index].user_buffer = NULL; in zink_set_constant_buffer()
Dzink_context.h93 struct pipe_constant_buffer ubos[PIPE_SHADER_TYPES][PIPE_MAX_CONSTANT_BUFFERS]; member
Dzink_blit.c214 util_blitter_save_fragment_constant_buffer_slot(ctx->blitter, ctx->ubos[PIPE_SHADER_FRAGMENT]); in zink_blit()
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_context.h59 struct pipe_constant_buffer ubos[PIPE_MAX_CONSTANT_BUFFERS]; member
Dvirgl_context.c134 if (binding->ubos[i].buffer == res) { in virgl_rebind_resource()
135 const struct pipe_constant_buffer *ubo = &binding->ubos[i]; in virgl_rebind_resource()
263 res = virgl_resource(binding->ubos[i].buffer); in virgl_attach_res_uniform_buffers()
649 pipe_resource_reference(&binding->ubos[index].buffer, buf->buffer); in virgl_set_constant_buffer()
650 binding->ubos[index] = *buf; in virgl_set_constant_buffer()
660 pipe_resource_reference(&binding->ubos[index].buffer, NULL); in virgl_set_constant_buffer()
1362 pipe_resource_reference(&binding->ubos[i].buffer, NULL); in virgl_release_shader_binding()
/external/mesa3d/docs/relnotes/
D20.3.2.rst109 - zink: handle null ubos
D19.3.0.rst1363 - zink: reference ubos and textures
D20.3.0.rst3761 - zink: don't emit ubos or bindings for ubo variables
/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_cmdstream.c902 struct panfrost_ptr ubos = in panfrost_emit_const_buf() local
906 uint64_t *ubo_ptr = (uint64_t *) ubos.cpu; in panfrost_emit_const_buf()
946 return ubos.gpu; in panfrost_emit_const_buf()
/external/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dnir_to_spirv.c44 SpvId ubos[128]; member
604 assert(ctx->num_ubos < ARRAY_SIZE(ctx->ubos)); in emit_ubo()
605 ctx->ubos[ctx->num_ubos++] = var_id; in emit_ubo()
1543 ctx->ubos[const_block_index->u32], in emit_load_ubo_vec4()
/external/angle/src/tests/gl_tests/
DGLSLTest.cpp9028 GLBuffer ubos[3]; in TEST_P() local
9030 InitBuffer(program, "Ubo[0]", ubos[0], 0, data, size, true); in TEST_P()
9031 InitBuffer(program, "Ubo[1]", ubos[1], 0, data, size, true); in TEST_P()
9032 InitBuffer(program, "Ubo[2]", ubos[2], 0, data, size, true); in TEST_P()
/external/angle/src/libANGLE/renderer/vulkan/
DContextVk.cpp1778 const std::vector<gl::InterfaceBlock> &ubos = programState.getUniformBlocks(); in handleDirtyShaderResourcesImpl() local
1780 for (const gl::InterfaceBlock &ubo : ubos) in handleDirtyShaderResourcesImpl()
/external/mesa3d/.gitlab-ci/piglit/
Dquick_shader.txt96 spec/arb_gl_spirv/execution/ubo/two-ubos: skip