mirror of
https://github.com/utmapp/angle.git
synced 2026-12-01 14:00:09 -10:00
The precise keyword is different in GLSL in that it defines what arithmetic operations _that have led to the value being assigned to a variable_ should be done precisely (i.e. not "contracted"). A tree traverser is implemented that detects precise access chains and applies precise-ness to the right hand side of assignment expressions to said access chains. This is only done if the shader uses the precise keyword in the first place. The algorithm for this is inspired by the implementation in glslang. This change additionally: - Fixes parser to allow precise on function parameters - Fixes GLSL code generation to output precise on struct members and function parameters. Bug: angleproject:4889 Change-Id: Ie3808c3c8c08da308e88af20f5f90379d9d14d47 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3056369 Reviewed-by: Tim Van Patten <[email protected]> Reviewed-by: Jamie Madill <[email protected]> Commit-Queue: Shahbaz Youssefi <[email protected]>
32 lines
1.3 KiB
JSON
32 lines
1.3 KiB
JSON
{
|
|
"src/compiler/generate_parser_tools.py":
|
|
"6a34ad911710a45e5644e9f79dfd2ce5",
|
|
"src/compiler/translator/generate_parser.py":
|
|
"566178ecdfae3a29803b3687fc518ebb",
|
|
"src/compiler/translator/glslang.l":
|
|
"921021111f9906b6b4869375b152499b",
|
|
"src/compiler/translator/glslang.y":
|
|
"b444927729273af902b2f3ae84f085cb",
|
|
"src/compiler/translator/glslang_lex_autogen.cpp":
|
|
"18f56a5303e6b7e061d8aadef69faf9b",
|
|
"src/compiler/translator/glslang_tab_autogen.cpp":
|
|
"2ef3f677fae718997b8ad367a5d357aa",
|
|
"src/compiler/translator/glslang_tab_autogen.h":
|
|
"840c12db9f7824afd05b5306c8816d95",
|
|
"tools/flex-bison/linux/bison.sha1":
|
|
"efa86001f00e7bcfdbe899dd15fc88e0",
|
|
"tools/flex-bison/linux/flex.sha1":
|
|
"3e73ddbd801cf3e8ed759c49572c8bf2",
|
|
"tools/flex-bison/windows/bison.exe.sha1":
|
|
"ad6345f2fbf1112bae67f0d54a92e574",
|
|
"tools/flex-bison/windows/flex.exe.sha1":
|
|
"45668fa0dafd4a7e68c2b0480e50e650",
|
|
"tools/flex-bison/windows/m4.exe.sha1":
|
|
"0e0332c889b12576458bc481f34d6142",
|
|
"tools/flex-bison/windows/msys-2.0.dll.sha1":
|
|
"59854139bd445e5193812e2b910dc7b5",
|
|
"tools/flex-bison/windows/msys-iconv-2.dll.sha1":
|
|
"5da154b537d340991bb4cd06eca6d523",
|
|
"tools/flex-bison/windows/msys-intl-8.dll.sha1":
|
|
"3b5cd216061b9dff4d2ae3956bc344a8"
|
|
} |