Mesa (master): nir: remove ubo_r600 instrinsic since ubo_vec4 is used now

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Sep 17 10:27:29 UTC 2020


Module: Mesa
Branch: master
Commit: 6f2b6952bef69af9cf8ae66be4261837bacb3137
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6f2b6952bef69af9cf8ae66be4261837bacb3137

Author: Gert Wollny <gert.wollny at collabora.com>
Date:   Wed Sep 16 20:24:23 2020 +0200

nir: remove ubo_r600 instrinsic since ubo_vec4 is used now

As suggested by Eric.

Signed-off-by: Gert Wollny <gert.wollny at collabora.com>
eviewed-by: Eric Anholt <eric at anholt.net>

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6743>

---

 src/compiler/nir/nir_intrinsics.py | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/compiler/nir/nir_intrinsics.py b/src/compiler/nir/nir_intrinsics.py
index e63900082ab..ae560fc48a1 100644
--- a/src/compiler/nir/nir_intrinsics.py
+++ b/src/compiler/nir/nir_intrinsics.py
@@ -899,12 +899,6 @@ load("sampler_lod_parameters_pan", [1], [CAN_ELIMINATE, CAN_REORDER])
 
 # R600 specific instrincs
 #
-# R600 can only fetch 16 byte aligned data from an UBO, and the actual offset
-# is given in vec4 units, so we have to fetch the a vec4 and get the component
-# later
-# src[] = { buffer_index, offset }.
-load("ubo_r600", [1, 1], [ACCESS, ALIGN_MUL, ALIGN_OFFSET], flags=[CAN_ELIMINATE, CAN_REORDER])
-
 # location where the tesselation data is stored in LDS
 system_value("tcs_in_param_base_r600", 4)
 system_value("tcs_out_param_base_r600", 4)



More information about the mesa-commit mailing list