mesa/src/intel
Kenneth Graunke dc4770b005 intel/brw: Lower MEMORY_OPCODE_*_LOGICAL to HDC messages
This is more complicated.  We map the MEMORY_*_LOGICAL opcodes to the
older HDC messages: typed and untyped surface read/write/atomic (whether
float or integer), DWord and Byte scattered messages, OWord block, and
both A64, BTI, and stateless messages.

- MEMORY_MODE_* is used to select stateless-scratch, typed, or untyped.
- MEMORY_FLAG_TRANSPOSE is used to select block access.
- MEMORY_BINDING_TYPE = FLAT and 64-bit address size selects A64.
- Alignment and data type size select between byte/dword scattered or
  surface messages.

While we may not be able to handle the full generality of message
possibilities, we can handle everything we generate currently.  The plan
here is to assert/validate that we don't generate MEMORY_*_LOGICAL ops
on HDC-based platforms which can't support those particular messages.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Acked-by: Rohan Garg <rohan.garg@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30828>
2024-09-12 20:54:36 +00:00
..
blorp intel: Support any depth fast-clear value on Xe2 2024-08-27 06:15:36 +00:00
ci ci/intel: Officially switch intel-adl-cl to pre-merge 2024-09-12 15:40:03 +00:00
common intel: Remove INTEL_ENGINE_CLASS_COMPUTE and INTEL_ENGINE_CLASS_COPY parameters 2024-08-13 21:15:31 +00:00
compiler intel/brw: Lower MEMORY_OPCODE_*_LOGICAL to HDC messages 2024-09-12 20:54:36 +00:00
decoder intel/decoder: Handle HCP_PAK_INSERT_OBJECT 2024-08-02 07:15:59 +00:00
dev intel/dev: Fix warning for max_threads_per_psd when devinfo->verx10 == 120 2024-09-10 03:21:12 +00:00
ds anv/hasvk: add indirect tracepoint arguments 2024-08-03 16:03:04 +03:00
executor intel/executor: Small fixes to the help message 2024-09-07 16:32:50 +00:00
genxml anv,iris: prefix the argument format with XI for a upcoming refactor 2024-08-20 09:41:51 +00:00
isl intel/isl: Always set EnableUnormPathInColorPipe 2024-09-09 23:48:31 +00:00
nullhw-layer build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
perf intel/perf: Fix intel_gem.h include 2024-09-04 10:04:38 -07:00
shaders meson: use glslang --depfile argument when possible 2024-05-20 17:34:17 +00:00
tools build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
vulkan anv,iris: Pack depth pixels into initialized arrays 2024-09-11 22:04:30 +00:00
vulkan_hasvk hasvk: enable VK_KHR_shader_relaxed_extended_instruction 2024-09-09 17:46:32 +00:00
meson.build intel: Add executor tool 2024-08-14 03:03:46 +00:00