Mesa 3D Graphics Library
This sub-channel is devoted to everything Mesa, including Gallium3D drivers.
Libdrm is the Direct Rendering Manager library component to Mesa DRM that contains the driver header files for communication with the driver's kernel modules.
Mesa is an open-source 3D graphics library that provides the commonly-used DRI and Gallium3D open-source Linux graphics drivers.
Piglit is an OpenGL conformance test suite designed for testing Mesa and other OpenGL hardware drivers.
This Week's Activity
- i965/vec4/dce: Don't narrow the write mask if the flags are used
Mesa - Ian Romanick: In an instruction sequence like
cmp(8).ge.f0.0 vgrf17:D, vgrf2.xxxx:D, vgrf9.xxxx:D (+f0.0) sel(8) vgrf1:UD, vgrf8.xyzw:UD, vgrf1.xyzw:UD
The other fields of vgrf17 may be unused, but the CMP still needs to generate the other flag bits.
To my surprise, nothing in shader-db or any test suite appears to hit this.
- i965/fs: Eliminate unary op on operand of compare-with-zero
Mesa - Ian Romanick: The (-abs(x) >= 0) => (x == 0) optimization is removed from the vec4 and scalar parts.
- i965/vec4: Propagate conditional modifiers from more compares to other compares
Mesa - Ian Romanick: If there is a CMP.NZ that compares a single component (via a .zzzz swizzle, for example) with 0, it can propagate its conditional modifier back to a previous CMP that writes only that component.
- intel/compiler: More peephole select
Mesa - Ian Romanick: Shader-db results:
The one shader hurt for instructions is a compute shader that had both spills and fills hurt.
v2: Fix typo in comment noticed by Caio.
v3: Fix inverted condition in brw_nir.c.
- intel/compiler: More peephole_select for pre-Gen6
Mesa - Ian Romanick: No shader-db changes on any Gen6+ platform.
All of the shaders with cycles hurt by more than ~2% are from Master of Orion.
- nir: Fix clamping of uints for image store lowering
Mesa - Eric Anholt: I botched some copy-and-paste and clamped to signed int max instead of uint max.
- radv: report Vulkan version 1.1.90 for real
Mesa - Samuel Pitoiset: I thought the value was correctly propagated, but actually not.
- nir: Drop support for lower_b2f
Mesa - Jason Ekstrand: This was originally added for the out-of-tree Mali driver but I think we've all agreed it's easy enough for them to just do in their back-end.
- nir/algebraic: Make an optimization more specific
Mesa - Jason Ekstrand: Later in this series, bool is not going to imply 32-bit.
- nir: Add support for 1-bit data types
Mesa - Jason Ekstrand: This commit adds support for 1-bit Booleans and integers.