summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_nir_apply_dynamic_offsets.c
Commit message (Collapse)AuthorAgeFilesLines
* anv/pipeline: Only do buffer bounds checks if robustBufferAccess is enabledJason Ekstrand2016-05-191-1/+7
|
* anv/apply_dynamic_offsets: Use rewrite_src instead of a regular assignmentJason Ekstrand2016-05-191-4/+5
| | | | | | Originally we removed the instruction, changed the source, and then re-inserted it. This works, but nir_instr_rewrite_src is a bit more obviously correct.
* nir: Switch the arguments to nir_foreach_functionJason Ekstrand2016-04-281-1/+1
| | | | | | | | | This matches the "foreach x in container" pattern found in many other programming languages. Generated by the following regular expression: s/nir_foreach_function(\([^,]*\),\s*\([^,]*\))/nir_foreach_function(\2, \1)/ Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
* nir: Switch the arguments to nir_foreach_instrJason Ekstrand2016-04-281-1/+1
| | | | | | | | | | | This matches the "foreach x in container" pattern found in many other programming languages. Generated by the following regular expression: s/nir_foreach_instr(\([^,]*\),\s*\([^,]*\))/nir_foreach_instr(\2, \1)/ and similar expressions for nir_foreach_instr_safe etc. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
* anv/apply_dynamic_offsets: fixup for nir_foreach_block()Jason Ekstrand2016-04-281-33/+22
| | | | Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
* anv/dynamic_offsets: Fix the order of arguments to nir_build_immJason Ekstrand2016-04-281-2/+2
|
* anv: Fix a build error caused by recent fp64 NIR changesJason Ekstrand2016-04-281-2/+3
|
* nir: rename nir_foreach_block*() to nir_foreach_block*_call()Connor Abbott2016-04-201-1/+2
| | | | Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
* anv/apply_dynamic_offsets: Provide a range on the load_uniformJason Ekstrand2016-04-201-1/+3
| | | | | | Signed-off-by: Jason Ekstrand <jason@jlekstrand.net> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94998 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=95001
* Merge remote-tracking branch 'public/master' into vulkanJason Ekstrand2016-03-241-3/+4
|
* anv: Fix a typo in apply_dynamic_offsetsJason Ekstrand2016-02-201-2/+2
| | | | shader->num_uniforms is in terms of bytes in i965.
* Move the intel vulkan driver to src/intel/vulkanJason Ekstrand2016-02-181-0/+171