nir: remove ubo_r600 instrinsic since ubo_vec4 is used now
authorGert Wollny <gert.wollny@collabora.com>
Wed, 16 Sep 2020 18:24:23 +0000 (20:24 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 17 Sep 2020 10:11:11 +0000 (10:11 +0000)
As suggested by Eric.

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

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

src/compiler/nir/nir_intrinsics.py

index e639000..ae560fc 100644 (file)
@@ -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)