- Mar 21, 2018
-
-
Faith Ekstrand authored
-
Faith Ekstrand authored
-
Faith Ekstrand authored
This pass doesn't handle deref instructions yet. Making it handle both legacy derefs and deref instructions would be painful. Since it's not important for correctness, just disable it for now.
-
Faith Ekstrand authored
-
Faith Ekstrand authored
-
Faith Ekstrand authored
-
Faith Ekstrand authored
-
Faith Ekstrand authored
-
Faith Ekstrand authored
-
Faith Ekstrand authored
-
Faith Ekstrand authored
-
Faith Ekstrand authored
Sometimes it's useful for a pass to be able to clean up its own derefs instead of waiting for DCE. This little helper makes it very easy.
-
Faith Ekstrand authored
-
Faith Ekstrand authored
-
Faith Ekstrand authored
-
Faith Ekstrand authored
-
Faith Ekstrand authored
This commit introduces a new nir_deref.h header for helpers that are less common and really only needed by a few heavy-duty passes. In this header is a new struct for representing a full deref path which can be walked in either direction.
-
Faith Ekstrand authored
-
Faith Ekstrand authored
-
Faith Ekstrand authored
This will be needed by anything which changes variable modes without rewriting derefs.
-
Faith Ekstrand authored
-
Faith Ekstrand authored
This replaces some "if (...} { }" with "if (...) continue;" to reduce nesting depth and makes nir_metadata_preserve conditional on progress for the given impl.
-
Faith Ekstrand authored
-
Faith Ekstrand authored
-
Faith Ekstrand authored
-
Faith Ekstrand authored
Non-intrinsic function handling has never actually been tested and probably doesn't work. Just get rid of it for now. We can always add it back in later if it's useful.
-
Faith Ekstrand authored
This inserts a call to nir_lower_deref_instrs at every call site of glsl_to_nir, spirv_to_nir, and prog_to_nir.
-
Faith Ekstrand authored
This commit adds a pass for lowering deref instructions to deref chains as well as some smaller helpers to ease the transition.
-
Faith Ekstrand authored
-
Faith Ekstrand authored
-
Faith Ekstrand authored
-
Faith Ekstrand authored
This commit adds a new instruction type to NIR for handling derefs. Nothing uses it yet but this adds the data structure as well as all of the code to validate, print, clone, and [de]serialize them.
-
Faith Ekstrand authored
Generated with git grep -l nir_intrinsic_image | xargs \ sed -i 's/nir_intrinsic_image/nir_intrinsic_image_var/g' and some manual fixing in nir_intrinsics.h
-
Faith Ekstrand authored
We were validating this for locals but nothing else.
-
Faith Ekstrand authored
This fixes the fs-interpolateAtCentroid-block-array piglit test on i965. Cc: mesa-stable@lists.freedesktop.org
-
Faith Ekstrand authored
Cc: mesa-stable@lists.freedesktop.org
-
Faith Ekstrand authored
Because nir_instr_remove is an inline wrapper around nir_instr_remove_v, the compiler should be able to tell that the return value is unused and not emit the extra code in most cases.
-
Faith Ekstrand authored
We already have these for bit_size
-
- Mar 16, 2018
-
-
Faith Ekstrand authored
We're already including it in the meson build. This fixes build issues on systems which have a drm_fourcc.h that doesn't have modifiers. Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
-
Implement the eglSwapinterval for Android platform to enable the async mode for some GFX benchmarks such as Daimler C217, CityBench. Results of the dEQP-EGL.*swap_interval tests 'dEQP-EGL.functional.query_config.get_config_attrib.max_swap_interval'.. 'dEQP-EGL.functional.query_config.get_config_attrib.min_swap_interval'.. 'dEQP-EGL.functional.choose_config.simple.selection_only.max_swap_interval'.. 'dEQP-EGL.functional.choose_config.simple.selection_only.min_swap_interval'.. 'dEQP-EGL.functional.choose_config.simple.selection_and_sort.max_swap_interval'.. 'dEQP-EGL.functional.choose_config.simple.selection_and_sort.min_swap_interval'.. 'dEQP-EGL.functional.negative_api.swap_interval'.. Test run totals: Passed: 7/7 (100.0%) Failed: 0/7 (0.0%) Not supported: 0/7 (0.0%) Warnings: 0/7 (0.0%) Signed-off-by: Zhongmin Wu <zhongmin.wu@intel.com> Reviewed-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Tomasz Figa <tfiga@chromium.org> [Emil Velikov: polish inline comment, add dEQP stats, s/dpy/disp/] Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-