Re: [Mesa-dev] [PATCH 15/21] anv/pipeline: Whack nir->num_uniforms to MAX_PUSH_CONSTANT_SIZE

2017-10-12 Thread Kenneth Graunke
On Friday, September 29, 2017 2:25:15 PM PDT Jason Ekstrand wrote: > This way any image uniforms end up having locations higher than > MAX_PUSH_CONSTANT_SIZE. There's no bug here at the moment, but this > consistency will make the next commit easier. Also, because > nir_apply_pipeline_layout

[Mesa-dev] [PATCH 15/21] anv/pipeline: Whack nir->num_uniforms to MAX_PUSH_CONSTANT_SIZE

2017-09-29 Thread Jason Ekstrand
This way any image uniforms end up having locations higher than MAX_PUSH_CONSTANT_SIZE. There's no bug here at the moment, but this consistency will make the next commit easier. Also, because nir_apply_pipeline_layout properly increments nir->num_uniforms when it expands the param array, we no