[Mesa-dev] NIR to TGSI for Vulkan SPIRV shaders

2020-11-19 Thread Tommy Chou
Hi,

When running Vulkan code through lavapipe, SPIRV shaders are first
converted to NIR. Is it possible to further translate or dump that NIR to
TGSI format or is it unsupported? I tried running vkcube with
LP_DEBUG=tgsi,tgsi_ir but it segfaulted.

Thanks,
Tommy
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] NIR to TGSI for Vulkan SPIRV shaders

2020-11-19 Thread Dave Airlie
It's not supported and not useful in any way. TGSI llvmpipe is missing a
lot of features.

Dave

On Thu, 19 Nov 2020, 18:35 Tommy Chou,  wrote:

> Hi,
>
> When running Vulkan code through lavapipe, SPIRV shaders are first
> converted to NIR. Is it possible to further translate or dump that NIR to
> TGSI format or is it unsupported? I tried running vkcube with
> LP_DEBUG=tgsi,tgsi_ir but it segfaulted.
>
> Thanks,
> Tommy
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [ANNOUNCE] mesa 20.3.0-rc2

2020-11-19 Thread Dylan Baker
Hi List,

It's that time again. Mesa 20.3.0-rc2 is now available for your
testing enjoyment. Everything is looking pretty normal commit-wise in
this release.

Dylan

shortlog


Alyssa Rosenzweig (1):
  pan/bi: Model writemasks correctly

Boris Brezillon (2):
  panfrost: Fix Bifrost blend descriptor emission
  panfrost: Fix ->reads_frag_coord assignment

Brendan Dougherty (1):
  mesa: Fix vertex_format_to_pipe_format index.

Chad Versace (2):
  anv/image: Check DISJOINT in vkGetPhysicalDeviceImageFormatProperties2 
(v2)
  anv/image: Fix isl_surf_usage_flags for stencil images

Christian Gmeiner (1):
  etnaviv: nir: do not run opt loop after nir_lower_bool_xxx(..)

Dave Airlie (6):
  gallium: handle empty cbuf slots in framebuffer samples helper
  u_blitter: port radv 3D blit coords logic.
  lavapipe: enable alpha to one.
  lavapipe: disable SNORM blending for now
  llvmpipe: just use draw_regions in draw/line setup.
  draw: fix tess eval pipeline statistics.

Dylan Baker (4):
  .pick_status.json: Update to bf5cea7232f9ee2934c212211ebefb6fe766526d
  .pick_status.json: Update to 87dc3106b077199b829a082e32ec33d0c6d400ab
  .pick_status.json: Update to bac6cc586fe4c1b24351e0574d3a961eb631f6ae
  bump VERSION for 20.3.0-rc2 release

Eric Anholt (4):
  util/set: Fix the _mesa_set_clear function to not leave tombstones.
  ci: Only install kernel modules for LAVA devices.
  gallium/draw: Fix rasterizer_discard for wide points/lines.
  freedreno: Fix leak of shader binary on disk cache hits.

Erik Faye-Lund (3):
  softpipe: correct signature of get_compiler_options
  mesa/main: add missing include in glformats.h
  zink: more accurately track supported blits

Icecream95 (2):
  panfrost: Fix AFBC blits of resources with faked RGTC
  panfrost: Fix stack shift calculation

Jason Ekstrand (1):
  intel/fs: Fix use of undefined value in fixup_nomask_control_flow

Lucas Stach (1):
  etnaviv: fix disabling of INT filter for real

Marcin Ślusarz (1):
  nir: handle float atomics in copy propagation pass

Marek Olšák (1):
  st/mesa: fix use-after-free when updating shader info in st_link_nir

Matt Turner (1):
  glcpp: Handle bison-3.6 error message changes

Nanley Chery (3):
  mesa: Add and use _mesa_has_depth_float_channel
  mesa: Clamp some depth values in glClearBufferfv
  mesa: Clamp some depth values in glClearBufferfi

Rhys Perry (5):
  aco: don't combine precise max(min()) to med3
  aco: fix combine_constant_comparison_ordering() NaN check with 16/64-bit
  aco: disallow various v_add_u32 opts if modifiers are used
  aco: disable omod if the sign of zeros should be preserved
  aco: fix fp16 *0.5 omod

Rob Clark (2):
  freedreno: Protect gmem_cache ralloc allocations
  freedreno/ir3: Fix crash in shader compile fail path

Tapani Pälli (2):
  egl/dri2: fix race between image create and egl_image_target_texture
  iris: initialize shared screen->vtbl only once

Vinson Lee (5):
  turnip: Fix file descriptor return.
  vdpau: Add missing printf format specifier.
  frontends/va: Fix *num_entrypoints check.
  clover/spirv: Add missing break for SpvOpExecutionMode case.
  turnip: Close sync_fd only if it is a valid file descriptor.


git tag: mesa-20.3.0-rc2

https://mesa.freedesktop.org/archive/mesa-20.3.0-rc2.tar.xz
SHA256: 671bfc98724ca04ccda3255d9aa7fe3c730b10477446983a708305d00e9f5b5b  
mesa-20.3.0-rc2.tar.xz
SHA512: 
1d94100550b60a0dc6e984d898114b11b8656e2954e946478a2732cec678d1e6a0f07bb5bcdc856facf7e274aea52cfc2b4228c064eadc7bbc00147c6b17cc0e
  mesa-20.3.0-rc2.tar.xz
PGP:  https://mesa.freedesktop.org/archive/mesa-20.3.0-rc2.tar.xz.sig

signature.asc
Description: signature
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev