You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jianglk.darker
7ee447c011
|
4 months ago | |
---|---|---|
.. | ||
gpgpu | 4 months ago | |
media | 4 months ago | |
ps | 4 months ago | |
README | 4 months ago | |
converter.py | 4 months ago |
README
This directory is for shaders used in media_fill, gpgpu_fill, rendercopy and media_spin libraries. Till Gen8 shaders were generated using intel-gen4asm script (implementation in assembler/ directory). From Gen8 it is possible to use Intel Graphics Assembler to generate binary from asm instructions. https://github.com/intel/intel-graphics-compiler 1. Clone IGC project 2. Go to igc/visa/iga 3. Build iga cmake . && make For maintaining compatibility with our tests there is a bin to hex converter written in python: $>converter.py input_file > output_file e.g.$>python converter.py gen9_iga_output > gen9_hex_array Commands used to generate the shader on gen7 $> m4 gpgpu_fill.gxa > gpgpu_fill.gxm $> intel-gen4asm -g 7 -o <output> gpgpu_fill.gxm Commands used to generate the shader on gen8 $> m4 media_fill.gxa > media_fill.gxm $> intel-gen4asm -g 8 -o <output> media_fill.gxm