diff options
author | Nicolai Hähnle <[email protected]> | 2016-10-27 10:32:27 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2016-11-02 12:30:07 +0100 |
commit | 6526977306ae013a3ab4946229168a30015393ec (patch) | |
tree | 7eb37574efb34709a3074632a5191ee6e96a4301 /.dir-locals.el | |
parent | 9f0726f3e509c80c78ddb5e7411fa34f676de71d (diff) |
tgsi: align the definition of BFI & [UI]BFE with GLSL
As previously written, these opcodes use the SM5 semantics which is
incompatible with GLSL when bits == 0, offset == 32.
At some point we may want to add BFI_SM5 etc. opcodes, but all users
currently either want (and expect!) the GLSL semantics or don't care.
Bitfield inserts are generated by the GLSL lower_instructions and
lower_packing_builtins passes with constant bits and offset arguments,
so any workaround code that drivers may have to emit to follow GLSL
semantics should be optimized away easily for those uses.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to '.dir-locals.el')
0 files changed, 0 insertions, 0 deletions