Compiler and Rust related tasks for Summer of code

2023-02-23 Thread vivek pandya
Hello, Congratulations! for being accepted for GSoC 2023 organization! Are the tasks related to compilation still relevant? Because on Trello board I see some very old edits too. Also are there any tasks which involve Rust? Thanks! Vivek

[Mesa-dev] Question in wsi_common_x11.c

2021-02-21 Thread vivek pandya
Hello, In the following code why mage->base.row_pitches[0] is divided by 4 and passed as width to xcb_put_function() ? 26 static VkResult 25 x11_present_to_x11_sw(struct x11_swapchain *chain, uint32_t image_index, ... 15 14cookie = xcb_put_image(chain->conn, XCB_IMAGE_FORMAT_Z_PIXMAP,

[Mesa-dev] Question on ~/mesa/src/amd/llvm/ac_nir_to_llvm.c visit_load_var

2020-10-11 Thread vivek pandya
I see that visit_load_var() in ~/mesa/src/amd/llvm/ac_nir_to_llvm.c assumes that nir_variable used in this intrinsic can have few specific mods only. For example variable can not have nir_var_mem_shared , if such mod encountered it will execute unreachable() code. Is there any nir pass that

Re: [Mesa-dev] Understanding Components of SWR

2020-09-15 Thread vivek pandya
Hello Jan, On Tue, Sep 15, 2020 at 12:45 PM Zielinski, Jan wrote: > > Is there any document for extending SWR for architectures other than > Intel? > > Unfortunately not. SWR was not architected to be portable beyond CPUs with > different levels of AVX ISAs. > > > It seems like SWR uses

[Mesa-dev] Understanding Components of SWR

2020-09-12 Thread vivek pandya
Hello, I would like to understand the high level architecture of SWR codebase. Is there any document for extending SWR for architectures other than Intel? It seems like SWR uses llvm_pipe shader creation, so is it still based on tgsi IR to LLVM conversion? Is there a path from NIR->LLVM (it

Re: [Mesa-dev] [Libre-soc-dev] Loading Vulkan Driver

2020-08-25 Thread vivek pandya
vivek pandya wrote: > > > > On Mon, Aug 24, 2020 at 3:26 PM apinheiro wrote: > >> >> On 24/8/20 11:39, vivek pandya wrote: >> >> >> >> On Mon, Aug 24, 2020 at 3:06 PM apinheiro wrote: >> >>> >>> On 24/8/20 1

Re: [Mesa-dev] [Libre-soc-dev] Loading Vulkan Driver

2020-08-23 Thread vivek pandya
ponent layers appear to be valid. Is this version 0.0.25 and similar values look bad? On Sun, Aug 23, 2020 at 8:33 PM vivek pandya wrote: > > > > >> crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68 >> >> On Sun, Aug 23, 2020 at 10:36 AM vivek pandy

Re: [Mesa-dev] [Libre-soc-dev] Loading Vulkan Driver

2020-08-23 Thread vivek pandya
> crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68 > > On Sun, Aug 23, 2020 at 10:36 AM vivek pandya > wrote: > > > > Hello all, > > > > I just cleanup a bit and commited code at : > > > https://gitl

Re: [Mesa-dev] [Libre-soc-dev] Loading Vulkan Driver

2020-08-23 Thread vivek pandya
Hello all, I just cleanup a bit and commited code at : https://gitlab.freedesktop.org/vivekvpandya/mesa/-/commit/d1f29adf926eb44453db1255834575a6f7169d5f However it is not working as per my expectation (or my expectations are wrong) I want to see that driver fail at

Re: [Mesa-dev] Loading Vulkan Driver

2020-08-20 Thread vivek pandya
the basic Get*ProcAddr symbols or else the > loader can't do anything. You'll also need device and instance > creation functions and possibly some of the queries before anything > will work. > > On Thu, Aug 20, 2020 at 10:43 AM vivek pandya > wrote: > > > > Hello, >

[Mesa-dev] Loading Vulkan Driver

2020-08-20 Thread vivek pandya
Hello, I have started building mesa Vulkan driver. I have started by copying amd/vulkan driver however I have just kept only one file in build libresoc_pipeline.c I have only one method VkResult libresoc_CreateGraphicsPipelines( VkDevice_device,

[Mesa-dev] Mesa Intel vulkan driver on VirtualBox

2020-08-15 Thread vivek pandya
Hello, Is it possible to run a vulkan program on virtual box through libvulkan_intel.so ? I have build and installed latest mesa from git source but I get following output in vulkaninfo and vulkan-smoketest just fails with -3 error code. vivek@vivek-VirtualBox:~/mesa/dbg_opt$ vulkaninfo

[Mesa-dev] AMD Vulkan driver entry point

2020-08-13 Thread vivek pandya
Hello, I found following function: src/amd/vulkan/radv_pipeline.c 4998:VkResult radv_CreateGraphicsPipelines( but I could not find any caller to this function. Can someone please explain how this works? Thanks, Vivek ___ mesa-dev mailing list

[Mesa-dev] Questions related to NIR, LLVMPipe

2020-08-10 Thread vivek pandya
Hello, According to https://en.wikipedia.org/wiki/Mesa_(computer_graphics) LLVMPipe driver is supposed to use NIR instead of TGSI. Is there any status update page? Is there any code for NIR parser/reader which can read text of NIR? Sincerely, Vivek