Khronos Public Bugzilla
Bug 150 - fx_sampler_common allows sampler elements to be empty; needs explanation
Summary: fx_sampler_common allows sampler elements to be empty; needs explanation
Status: NEW
Alias: None
Product: COLLADA
Classification: Unclassified
Component: Schema (show other bugs)
Version: 1.5.0
Hardware: Macintosh Mac OS
: P3 minor
Target Milestone: Release 1.5.1
Assignee: Fabrice Robinet
QA Contact: COLLADA Work Group email alias
Keywords: collada-fx
Depends on:
Reported: 2009-04-19 21:50 PDT by Ellen Finch
Modified: 2014-01-07 10:23 PST (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Ellen Finch 2009-04-19 21:50:16 PDT
Opening originally as a schema bug but maybe it's a spec bug for missing info. 

fx_sampler_common can legally be empty (as shown in the profile_GLES example). However, it's not clearthat this makes sense. Does it? If so, when? 

Here's part of the example:

  <newparam sid="gravel"> 
  <newparam sid="grass"> 
  <newparam sid="transition"> 
  <technique sid="main"> 
    <pass sid="p0"> 
            <constant> 0.0f, 0.0f, 0.0f, 1.0f </constant> 
            <RGB operator="INTERPOLATE"> 
               <argument source="TEXTURE" operand="SRC_COLOR" sampler="gravel"/> 
              <argument source="TEXTURE" operand="SRC_COLOR" sampler="grass"/> 
              <argument source="TEXTURE" operand="SRC_ALPHA" 
            <alpha operator="INTERPOLATE"> 
              <argument source="TEXTURE" operand="SRC_ALPHA" sampler="gravel"/> 
              <argument source="TEXTURE" operand="SRC_ALPHA" sampler="grass"/> 
              <argument source="TEXTURE" operand="SRC_ALPHA"