Skip to content
Snippets Groups Projects
Commit f4cce4c9 authored by Rodrigo Vivi's avatar Rodrigo Vivi
Browse files

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: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: default avatarPetri Latvala <petri.latvala@intel.com>
parent f524eee4
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment