summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRodrigo Vivi <rodrigo.vivi@intel.com>2020-06-10 13:00:33 -0700
committerRodrigo Vivi <rodrigo.vivi@intel.com>2020-06-15 11:45:13 -0700
commitf4cce4c927b8a5f66ff4a0270e550921ca20e552 (patch)
treeda6b67711d9229399a164728c3c3fda483b6aaaa /scripts
parentf524eee47930601ad7b4cba9d40c26d68dc7d250 (diff)
scripts/generate_clear_kernel: Improve usage instructions.
Fix the script name and make the path to mesa i915_asm a bit more clear Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/generate_clear_kernel.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/generate_clear_kernel.sh b/scripts/generate_clear_kernel.sh
index af628a86..90bbdf5d 100755
--- a/scripts/generate_clear_kernel.sh
+++ b/scripts/generate_clear_kernel.sh
@@ -26,7 +26,7 @@
export ASSEMBLY_SOURCE=./lib/i915/shaders/clear_kernel
function get_help {
- echo "Usage: asm_eu_kernel.sh [options]"
+ echo "Usage: ${0} [options]"
echo "Note: hsw_clear_kernel.c/ivb_clear_kernel.c automatically generated by this script should never be modified - it would be imported to i915, to use as it is..."
echo " "
echo "Please make sure your Mesa tool is compiled with "-Dtools=intel" and "-Ddri-drivers=i965", and run this script from IGT source root directory"
@@ -37,7 +37,7 @@ function get_help {
echo " -o=name_of_file output file to store Mesa assembled c-literal for the device - If none specified, default file will be used - ivb/hsw-cb_assembled"
echo " -m=mesa Path to Mesa i965_asm binary"
echo " "
- echo " Usage example: \"scripts/generate_clear_kernel.sh -g hsw -o hsw_clear_buffer.h -m /path/to/Mesa/i965_asm/binary\""
+ echo " Usage example: \"./scripts/generate_clear_kernel.sh -g hsw -o hsw_clear_buffer.h -m ~/mesa/build/src/intel/tools/i965_asm\""
}
function include_array # $1=array_name - update Mesa output with desired format