summaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2016-12-13 11:18:01 +0000
committerLionel Landwerlin <[email protected]>2017-01-04 21:14:17 +0000
commit36b5f1d200bf1f24f562fd3c441c4322f2ff5029 (patch)
tree85d9bb4fe930b371e62005c5984e7ae33eedf0a2 /src/intel
parent0089085038f3584c34746748cd4b92f6c101a678 (diff)
spirv: compute push constant access offset & range
v2: Move relative push constant relative offset computation down to _vtn_load_store_tail() (Jason) Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/vulkan/anv_nir_lower_push_constants.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_nir_lower_push_constants.c b/src/intel/vulkan/anv_nir_lower_push_constants.c
index 64c155372ff..b66552825b9 100644
--- a/src/intel/vulkan/anv_nir_lower_push_constants.c
+++ b/src/intel/vulkan/anv_nir_lower_push_constants.c
@@ -42,7 +42,6 @@ anv_nir_lower_push_constants(nir_shader *shader)
continue;
assert(intrin->const_index[0] % 4 == 0);
- assert(intrin->const_index[1] == 128);
/* We just turn them into uniform loads */
intrin->intrinsic = nir_intrinsic_load_uniform;