http://www.miikahweb.com/feed.php MiikaHweb - Blender Commits By Merwin http://www.miikahweb.com/ MiikaHweb - Blender Commits By Merwin fi Thu, 26 Nov 20 10:20:12 +0000 MiikaHweb RSS contact at miikahweb.com <![CDATA[[17f26e1] master: OCIO: use modern GLSL texture functions]]> http://www.miikahweb.com/en/blender/git-logs/commit/17f26e181febbc72b873131c40bea6d508264641 17f26e1
Branches : master
Author : Mike Erwin (merwin)
----------------------------------------
OCIO: use modern GLSL texture functions

small part of ongoing OpenGL upgrade

----------------------------------------
1 Path Changed]]>
Wed, 30 Aug 2017 17:33:37 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/17f26e181febbc72b873131c40bea6d508264641Mike Erwin
<![CDATA[[bfa5efe] master: Fix MSVC compile (T51740)]]> http://www.miikahweb.com/en/blender/git-logs/commit/bfa5efeebecb24d52bd63d79d6fc08518568f5e6 bfa5efe
Branches : master
Author : Mike Erwin (merwin)
----------------------------------------
Fix MSVC compile (T51740)

Gawain doesn't include Blender's cross-platform "inline" definition. This change slipped in as part of D2697.

----------------------------------------
1 Path Changed]]>
Wed, 07 Jun 2017 20:28:24 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/bfa5efeebecb24d52bd63d79d6fc08518568f5e6Mike Erwin
<![CDATA[[179bb97] master: Gawain: stricter lookup of builtin uniforms]]> http://www.miikahweb.com/en/blender/git-logs/commit/179bb97740805904d65c2bbdf84b658c5292d1f1 179bb97
Branches : master
Author : Mike Erwin (merwin)
----------------------------------------
Gawain: stricter lookup of builtin uniforms

UNIFORM_NONE should never match a valid uniform (builtin or custom).

The logic for UNIFORM_CUSTOM was just wrong, since it returned the first custom uniform. This function should only accept builtin (non-custom) uniforms.

----------------------------------------
1 Path Changed]]>
Wed, 07 Jun 2017 20:20:37 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/179bb97740805904d65c2bbdf84b658c5292d1f1Mike Erwin
<![CDATA[[bb3e669] master: Gawain: faster lookup shader attribs by name]]> http://www.miikahweb.com/en/blender/git-logs/commit/bb3e669d06ec5aead740affe75ac0375110b4d7a bb3e669
Branches : master
Author : Mike Erwin (merwin)
----------------------------------------
Gawain: faster lookup shader attribs by name

Quick hash rejection instead of string comparison. Uniform lookups already work this way. I don't expect a major overall speedup since attributes are looked up less frequently than uniforms.

----------------------------------------
1 Path Changed]]>
Wed, 07 Jun 2017 20:20:37 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/bb3e669d06ec5aead740affe75ac0375110b4d7aMike Erwin
<![CDATA[[a5242d0] master: cleanup floating point literals]]> http://www.miikahweb.com/en/blender/git-logs/commit/a5242d08fbe4105dd18e1adbe65d4f17f83fa68f a5242d0
Branches : master
Author : Mike Erwin (merwin)
----------------------------------------
cleanup floating point literals

----------------------------------------
1 Path Changed]]>
Wed, 07 Jun 2017 20:20:37 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/a5242d08fbe4105dd18e1adbe65d4f17f83fa68fMike Erwin
<![CDATA[[6757ca8] master: NDOF: clean up after MinGW removal]]> http://www.miikahweb.com/en/blender/git-logs/commit/6757ca8b40bcb87cfd710b99bc44e450fff74995 6757ca8
Branches : master
Author : Mike Erwin (merwin)
----------------------------------------
NDOF: clean up after MinGW removal

Follow up to 9f044cb422c1fc9ad79278092445f612342abb59

These comments described the difference between Microsoft & MinGW's struct definition. Now that we dropped MinGW we don't need to go into these details.

----------------------------------------
1 Path Changed]]>
Mon, 29 May 2017 18:04:46 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/6757ca8b40bcb87cfd710b99bc44e450fff74995Mike Erwin
<![CDATA[[1fa2164] master: Gawain: update comments to match latest API]]> http://www.miikahweb.com/en/blender/git-logs/commit/1fa216487d69c79ef81ccf679090e2bfea5b64fd 1fa2164
Branches : master
Author : Mike Erwin (merwin)
----------------------------------------
Gawain: update comments to match latest API

----------------------------------------
1 Path Changed]]>
Mon, 29 May 2017 17:37:02 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/1fa216487d69c79ef81ccf679090e2bfea5b64fdMike Erwin
<![CDATA[[6205169] master: Gawain: move convert_prim_type_to_gl to private API]]> http://www.miikahweb.com/en/blender/git-logs/commit/620516965b4943ab6c2b0e14e63ff725cf5d1611 6205169
Branches : master
Author : Mike Erwin (merwin)
----------------------------------------
Gawain: move convert_prim_type_to_gl to private API

----------------------------------------
5 Paths Changed]]>
Fri, 26 May 2017 15:23:23 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/620516965b4943ab6c2b0e14e63ff725cf5d1611Mike Erwin
<![CDATA[[6cc293a] master: Gawain: replace switch with lookup table]]> http://www.miikahweb.com/en/blender/git-logs/commit/6cc293a6d97a2f8277660613a1ced9b2688bd7c0 6cc293a
Branches : master
Author : Mike Erwin (merwin)
----------------------------------------
Gawain: replace switch with lookup table

This function is not performance critical, but I prefer the branch-free code and no hack needed to appease gcc.

Follow-up to recent 23035cf46fb4dd6a0bf7e688b0f15128030c77d1 and f637145450010d14660fcb029d41560a138eae14.

----------------------------------------
1 Path Changed]]>
Mon, 22 May 2017 20:43:33 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/6cc293a6d97a2f8277660613a1ced9b2688bd7c0Mike Erwin
<![CDATA[[23035cf] master: Gawain: remove GLenum from IndexType API]]> http://www.miikahweb.com/en/blender/git-logs/commit/23035cf46fb4dd6a0bf7e688b0f15128030c77d1 23035cf
Branches : master
Author : Mike Erwin (merwin)
----------------------------------------
Gawain: remove GLenum from IndexType API

Goal is to make most of the API independent of OpenGL, Vulkan, any other backend.

Able to remove default case from ElementList_size because IndexType only covers index types. Not that and *everything else* like GLenum.

----------------------------------------
3 Paths Changed]]>
Sun, 21 May 2017 22:25:30 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/23035cf46fb4dd6a0bf7e688b0f15128030c77d1Mike Erwin
<![CDATA[[054eb94] master: Gawain: use integer math to convert int16 to int10]]> http://www.miikahweb.com/en/blender/git-logs/commit/054eb9422ca5bfea460229374cd8986d297f74c8 054eb94
Branches : master
Author : Mike Erwin (merwin)
----------------------------------------
Gawain: use integer math to convert int16 to int10

@fclem does this work for you?

----------------------------------------
1 Path Changed]]>
Sun, 21 May 2017 22:07:23 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/054eb9422ca5bfea460229374cd8986d297f74c8Mike Erwin
<![CDATA[[ea31c55] master: Gawain: cleanup code formatting]]> http://www.miikahweb.com/en/blender/git-logs/commit/ea31c55b08e0add843f56af0a62d030fd25606f2 ea31c55
Branches : master
Author : Mike Erwin (merwin)
----------------------------------------
Gawain: cleanup code formatting

----------------------------------------
2 Paths Changed]]>
Sun, 21 May 2017 21:53:16 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/ea31c55b08e0add843f56af0a62d030fd25606f2Mike Erwin
<![CDATA[[3f6f02e] master: Gawain: drop support for APPLE_flush_buffer_range]]> http://www.miikahweb.com/en/blender/git-logs/commit/3f6f02e4336455bd70df7b604bea57ce75d1d87c 3f6f02e
Branches : master
Author : Mike Erwin (merwin)
----------------------------------------
Gawain: drop support for APPLE_flush_buffer_range

Modern GL's glMapBufferRange works the same on all platforms.

Part of T49012

----------------------------------------
2 Paths Changed]]>
Sun, 21 May 2017 21:06:42 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/3f6f02e4336455bd70df7b604bea57ce75d1d87cMike Erwin
<![CDATA[[90a1d49] master: Gawain: drop support for APPLE_vertex_array_object]]> http://www.miikahweb.com/en/blender/git-logs/commit/90a1d491800cf1021d158973813265e9da71dbdd 90a1d49
Branches : master
Author : Mike Erwin (merwin)
----------------------------------------
Gawain: drop support for APPLE_vertex_array_object

Recent versions of OpenGL support VAOs natively.

Part of T49012

----------------------------------------
1 Path Changed]]>
Sun, 21 May 2017 20:48:54 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/90a1d491800cf1021d158973813265e9da71dbddMike Erwin
<![CDATA[[68d8618] master: Gawain: promote 10_10_10 to first-class vertex format]]> http://www.miikahweb.com/en/blender/git-logs/commit/68d8618538e6715e659d5be4e3f15bfbcf2db574 68d8618
Branches : master
Author : Mike Erwin (merwin)
----------------------------------------
Gawain: promote 10_10_10 to first-class vertex format

This format is part of OpenGL 3.3, and one of the reasons for choosing 3.3 over 3.2.

Instead of checking #if USE_10_10_10 just use it wherever needed.

----------------------------------------
3 Paths Changed]]>
Sun, 21 May 2017 19:59:34 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/68d8618538e6715e659d5be4e3f15bfbcf2db574Mike Erwin
<![CDATA[[996bf65] master: Clay/Eevee: fix more crash when entering edit mode]]> http://www.miikahweb.com/en/blender/git-logs/commit/996bf65730257d0a80c6ada03a38d0a321b1e87e 996bf65
Branches : master
Author : Mike Erwin (merwin)
----------------------------------------
Clay/Eevee: fix more crash when entering edit mode

Shader stages need to agree about interpolation qualifiers. Apparently implicit smooth (the default) and explicit smooth are considered different by some GLSL compilers. Found by @letterrip on Linux + Intel.

Follow-up to 941e739d703542af1637c6a37953adac5f6b36bb

----------------------------------------
3 Paths Changed]]>
Fri, 19 May 2017 20:12:13 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/996bf65730257d0a80c6ada03a38d0a321b1e87eMike Erwin
<![CDATA[[8d7b98b] master: OpenGL: cleanup material shader GLSL]]> http://www.miikahweb.com/en/blender/git-logs/commit/8d7b98bfd3965483db4d9de36937fd4b1fa66ff3 8d7b98b
Branches : master
Author : Mike Erwin (merwin)
----------------------------------------
OpenGL: cleanup material shader GLSL

prefer vector math over scalar
prefer * over /
shorten vec3(x, x, x) to vec3(x)
use clamp, max, etc. instead of custom logic
declare loop vars as part of for loop
spacing

----------------------------------------
1 Path Changed]]>
Fri, 19 May 2017 18:20:37 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/8d7b98bfd3965483db4d9de36937fd4b1fa66ff3Mike Erwin
<![CDATA[[a1c558e] master: OpenGL: cleanup edit overlay shaders]]> http://www.miikahweb.com/en/blender/git-logs/commit/a1c558e19f6fa0dfa85dcda004426d8497c21ec7 a1c558e
Branches : master
Author : Mike Erwin (merwin)
----------------------------------------
OpenGL: cleanup edit overlay shaders

Mostly simple fixes to spacing & comments.

----------------------------------------
9 Paths Changed]]>
Fri, 19 May 2017 18:20:37 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/a1c558e19f6fa0dfa85dcda004426d8497c21ec7Mike Erwin
<![CDATA[[941e739] master: Clay/Eevee: fix crash when entering edit mode]]> http://www.miikahweb.com/en/blender/git-logs/commit/941e739d703542af1637c6a37953adac5f6b36bb 941e739
Branches : master
Author : Mike Erwin (merwin)
----------------------------------------
Clay/Eevee: fix crash when entering edit mode

vertexColor output was not being written --> shader failed to link --> assert hit while setting that shader's uniforms.

Vertex attribs are smooth by default, so I shortened the declaration.

@fclem or @dfelinto: is color = 0 ok here?

----------------------------------------
1 Path Changed]]>
Fri, 19 May 2017 18:20:37 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/941e739d703542af1637c6a37953adac5f6b36bbMike Erwin
<![CDATA[[8561a2d] master: OpenGL: remove BIT_OPERATIONS check from GLSL]]> http://www.miikahweb.com/en/blender/git-logs/commit/8561a2dda7464207002d369619008313fde0042b 8561a2d
Branches : master
Author : Mike Erwin (merwin)
----------------------------------------
OpenGL: remove BIT_OPERATIONS check from GLSL

Since the upgrade we can use bitwise operations without checking. No more lame fallbacks!

----------------------------------------
2 Paths Changed]]>
Fri, 19 May 2017 16:36:10 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/8561a2dda7464207002d369619008313fde0042bMike Erwin